Grouping Rows with Range Variables

D

Dan G.

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 where:

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 ***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top