ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Grouping function in VBA Excel (https://www.excelbanter.com/excel-programming/397721-grouping-function-vba-excel.html)

bobens_83

Grouping function in VBA Excel
 
Hi everyone. Could You give me a tip?

In Excel menu-Data-Groups And Conspects-Group option is located. How can
I achieve the same effect from VBA code?

Greetings. P.

Mike Fogleman

Grouping function in VBA Excel
 
I would think it is Range.Rows.Group (or columns)

Mike F
"bobens_83" wrote in message
...
Hi everyone. Could You give me a tip?

In Excel menu-Data-Groups And Conspects-Group option is located. How
can
I achieve the same effect from VBA code?

Greetings. P.




bobens_83

Grouping function in VBA Excel
 
Brilliant! But I have one more thing. How to set that grouped range rolled up
after grouping?


All times are GMT +1. The time now is 11:32 AM.

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