Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello.
I'm trying to create groupings by rows, but using variable integer values in the range. For example, if I have: Rows("2:2007").Rows.Group And I want to use two variables whe nFirst = 100 nLast = 200 to designate the row values to my groupings instead of those values, what's the correct syntax? I should know this, but I'm having issues for some reason. Anyone's help would be greatly appreciated. Thanks. Dan *** Sent via Developersdex http://www.developersdex.com *** |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Rows(nFirst & ":" & nLast).Rows.Group
-- Cheers Nigel "Dan G." wrote in message ... Hello. I'm trying to create groupings by rows, but using variable integer values in the range. For example, if I have: Rows("2:2007").Rows.Group And I want to use two variables whe nFirst = 100 nLast = 200 to designate the row values to my groupings instead of those values, what's the correct syntax? I should know this, but I'm having issues for some reason. Anyone's help would be greatly appreciated. Thanks. Dan *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
grouping rows | Excel Discussion (Misc queries) | |||
Grouping Variables on an axis | Excel Discussion (Misc queries) | |||
grouping rows... | New Users to Excel | |||
Grouping Rows | Excel Discussion (Misc queries) | |||
Grouping rows together | Excel Worksheet Functions |