Home excel Multi-line comment in VBA, Excel

Multi-line comment in VBA, Excel

Author

Date

Category

Comments in the text of a macro begin with an apostrophe on each line of the program, but is it possible to comment out a whole block at once? For example, as in other languages ​​- / * is the beginning of the block, * / is the end of the block?

P.S. I found the answer that

in the VBA editor on the Edit panel there are Comment Block, Uncomment buttons
Block

but I don’t find something like this:

 enter image description here


Answer 1, authority 100%

View – & gt; Toolbars – & gt; Customise

Commands tab – & gt; Edit menu

Two icons – Comment Block and Uncomment Block .

Drag Edit menu from to the toolbar.

Profit.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions