PC Review


Reply
Thread Tools Rate Thread

Commenting out

 
 
Sandy
Guest
Posts: n/a
 
      17th Oct 2008
Is there a way to comment out a whole procedure without placing apostrophes
at the beginning of all lines?

Thanks
Sandy

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      17th Oct 2008
Add apostrophe to the first and add line continuation to all the lines.

--
__________________________________
HTH

Bob

"Sandy" <(E-Mail Removed)> wrote in message
news:99F54BC7-0FAC-4F74-B0A8-(E-Mail Removed)...
> Is there a way to comment out a whole procedure without placing
> apostrophes at the beginning of all lines?
>
> Thanks
> Sandy



 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      17th Oct 2008
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
>

 
Reply With Quote
 
Franz Erhart
Guest
Posts: n/a
 
      17th Oct 2008
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
>

 
Reply With Quote
 
Sandy
Guest
Posts: n/a
 
      17th Oct 2008
Very easy too.
Thanks Franz

"Franz Erhart" <(E-Mail Removed)> wrote in message
news:BE17910C-0145-41C5-AFD5-(E-Mail Removed)...
> 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
>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Commenting in SQL VWP1 Microsoft Access Queries 3 22nd Feb 2010 09:34 PM
Re: Commenting in Sql Bob Barrows [MVP] Microsoft Access Queries 0 25th Jun 2007 03:44 PM
xml commenting tolisss Microsoft Dot NET 1 27th Jan 2005 08:32 AM
XML Commenting Microsoft VC .NET 9 18th Feb 2004 07:54 PM
Commenting out XML Ron McNulty Microsoft C# .NET 4 12th Nov 2003 09:12 AM


Features
 

Advertising
 

Newsgroups
 


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