Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Commenting out code
Hi,
I know how to comment out code line by line Is there a way to comment out multiple lines at once. Like in C++ you can use - "/*" and - "*/" Is there something in excel because I have a lot of code that has to be commented out and I dont want to go line by line and click " ' ". Thanks for your help. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Commenting out code
Hi Jeff
In the VBA editor right click on the menu bar and check Edit. On this toolbar there are two buttons that you can use for the selected code -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Jeff" wrote in message ... Hi, I know how to comment out code line by line Is there a way to comment out multiple lines at once. Like in C++ you can use - "/*" and - "*/" Is there something in excel because I have a lot of code that has to be commented out and I dont want to go line by line and click " ' ". Thanks for your help. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Commenting out code
Jeff
In VBE Right-click on a toolbar then CustomizeCommandsEdit. Drag Comment Block and UnComment Block buttons to your Toolbar. Gord Dibben MS Excel MVP On Wed, 31 Jan 2007 09:58:02 -0800, Jeff wrote: Hi, I know how to comment out code line by line Is there a way to comment out multiple lines at once. Like in C++ you can use - "/*" and - "*/" Is there something in excel because I have a lot of code that has to be commented out and I dont want to go line by line and click " ' ". Thanks for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Unfamilliar with how to use VBA code | Excel Discussion (Misc queries) | |||
VBA: For Count, when count changes from cell to cell | Excel Discussion (Misc queries) | |||
Cell value not recognized by code. | Excel Discussion (Misc queries) | |||
Complicated If Then / V Lookup / Match Statement... | Excel Worksheet Functions | |||
Macro for changing text to Proper Case | Excel Worksheet Functions |