Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Grouping Rows with Range Variables

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
grouping rows AFE Excel Discussion (Misc queries) 1 February 13th 08 12:19 AM
Grouping Variables on an axis [email protected] Excel Discussion (Misc queries) 1 November 14th 07 12:40 PM
grouping rows... kang New Users to Excel 5 June 10th 07 05:44 PM
Grouping Rows Moz Excel Discussion (Misc queries) 0 July 21st 06 05:33 AM
Grouping rows together Steve-o Excel Worksheet Functions 1 March 23rd 06 06:56 PM


All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"