how can i remark several line in vba code
for example one line i remark
Please Login or Register to view this content.
how can i remark several line in vba code
for example one line i remark
Please Login or Register to view this content.
You do it the same way. Start each line with an apostrophe until your done commenting.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
I am guessing that your problem is that you have several lines that you've written and you want to make them all comment lines in one hit, avoiding the need to place an apostrophe in front of each line?
- Right click the VBE menu bar.
- Choose Edit
- Highlight the lines you intend as comments
- Click the Comment Block button on the Edit toolbar.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks