ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Collapsing Code (https://www.excelbanter.com/excel-programming/337315-collapsing-code.html)

cody

Collapsing Code
 
Is there a way to group and collapse sections of code in the vb editor??

Thanks,

Chip Pearson

Collapsing Code
 
If you are talking about the way the NET editor lets you collapse
code section, no, this is not possible. The only thing that comes
close is the setting to display only one procedure at a time in
the code window. In a module with more than one procedure, click
either of the buttons to the left of the horizontal scroll bar to
see the effect.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Cody" wrote in message
...
Is there a way to group and collapse sections of code in the vb
editor??

Thanks,




cody

Collapsing Code
 
Sorry Chip, what I want to do is collapse Cases inside a Select / Case.
Thanks for the information anyway.

"Chip Pearson" wrote:

If you are talking about the way the NET editor lets you collapse
code section, no, this is not possible. The only thing that comes
close is the setting to display only one procedure at a time in
the code window. In a module with more than one procedure, click
either of the buttons to the left of the horizontal scroll bar to
see the effect.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Cody" wrote in message
...
Is there a way to group and collapse sections of code in the vb
editor??

Thanks,






All times are GMT +1. The time now is 04:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com