Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default remarking VBA code

I've never heard of saving causing any changes to the VBA code. The REM
method of commenting code is a blast from the past of original BASIC.

I would use the ' character to comment your code.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)


"childofthe1980s" wrote in
message ...
Hello:

I'm trying to remark (REM) lines in VBA code.

But, when I try to do this and hit save, the spreadsheet's VBA code is not
saving the remarking.

Isn't it just a matter of putting an apostrophe in front of the code so
that
the lines in the code turn green? Or, am I doing it wrong?

Thanks!

childofthe1980s



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default remarking VBA code

I have seen cases where if I try and create my sub with only remarks
(no code) and compile it, the remarks and sub disappear. With that
there is no saving involved, but would be an instance of remarks not
sticking.

theSquirrel


Chip Pearson wrote:
I've never heard of saving causing any changes to the VBA code. The REM
method of commenting code is a blast from the past of original BASIC.

I would use the ' character to comment your code.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)


"childofthe1980s" wrote in
message ...
Hello:

I'm trying to remark (REM) lines in VBA code.

But, when I try to do this and hit save, the spreadsheet's VBA code is not
saving the remarking.

Isn't it just a matter of putting an apostrophe in front of the code so
that
the lines in the code turn green? Or, am I doing it wrong?

Thanks!

childofthe1980s


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
split post code (zip code) out of cell that includes full address Concord Excel Discussion (Misc queries) 4 October 15th 09 06:59 PM
remarking VBA code Bernie Deitrick Excel Programming 0 December 8th 06 04:35 PM
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... Corey Excel Programming 4 November 25th 06 04:57 AM
Modification in the CODE to HIDE rows and columns that start with ZERO (code given) Thulasiram[_2_] Excel Programming 4 September 26th 06 04:15 AM
Excel code convert to Access code - Concat & eliminate duplicates italia Excel Programming 1 September 12th 06 12:14 AM


All times are GMT +1. The time now is 02:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"