It seems I can only comment the code line by line by using " ' ". Does anybody know how can I comment a block of vb code?
thanks
Printable View
It seems I can only comment the code line by line by using " ' ". Does anybody know how can I comment a block of vb code?
thanks
As far as I know you can only comment vb code with either a "'" or "REM". Either way you have to actually put that in front of EVERY line that you want commented. There is no nice way like /* */ or anything. A fast way of doing this is to highlight the block of code that you want commented then go to View on the toolbar and select Edit under Toolbars and there is an item on that toolbar for commenting a block of code.
-K
I found it. It makes me feel much better.
Cool, thanks.
View->Toolbars->Customize
Choose Toolbars tab
Shortcut Menus->Code Window->Code Window
Command tab
Edit->Drag and drop Comment, Uncomment
Iouri Boutchkine
[email protected]