ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Commenting out (https://www.excelbanter.com/excel-programming/418640-commenting-out.html)

Sandy

Commenting out
 
Is there a way to comment out a whole procedure without placing apostrophes
at the beginning of all lines?

Thanks
Sandy


Bob Phillips[_3_]

Commenting out
 
Add apostrophe to the first and add line continuation to all the lines.

--
__________________________________
HTH

Bob

"Sandy" wrote in message
...
Is there a way to comment out a whole procedure without placing
apostrophes at the beginning of all lines?

Thanks
Sandy




Mike H

Commenting out
 
Use exit sub

Sub MySub()
Exit Sub
'Lots of code
End Sub

Mike

"Sandy" wrote:

Is there a way to comment out a whole procedure without placing apostrophes
at the beginning of all lines?

Thanks
Sandy


Franz Erhart

Commenting out
 
Hi Sandy,
try this one:
http://www.ozgrid.com/forum/showthread.php?t=10432

"Sandy" wrote:

Is there a way to comment out a whole procedure without placing apostrophes
at the beginning of all lines?

Thanks
Sandy


Sandy

Commenting out
 
Very easy too.
Thanks Franz

"Franz Erhart" wrote in message
...
Hi Sandy,
try this one:
http://www.ozgrid.com/forum/showthread.php?t=10432

"Sandy" wrote:

Is there a way to comment out a whole procedure without placing
apostrophes
at the beginning of all lines?

Thanks
Sandy



All times are GMT +1. The time now is 12:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com