Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default How to jump to a groupeded cell

Hi,

I have a macro that is grouping rows by the value in column A (col A is
sorted)
Above that I have 7 empty rows at the top which will not be grouped. These
rows are frozen.

Now, after running this macro I have this 7-row header and about 30 grouped
rows (which each comprise some 10 to hundreds of underlying rows). The first
grouped cell is FOR EXAMPLE Row 533 (thus rows 8-532 are hidden by the group
functionality)

I want to go to the first grouped row (In my example row 533). I f I use my
keyboard I do it like this:
I click in Cell A7 (the last frozen row)
I hit the keydown key on the keyboard once, and I am in the grouped cell.
Ready!

Now I want to do it by code.
I tried:

cells(7,1).Offset(rowOffset:=1).Activate

But then I indeed end up in row 8 instead of row 533 as planned.

Since the grouping depends on the data that I process, the 533rd row is not
fixed. It could also be 500 rows. So directly selecting the hard address is
no option.

Any idea/ suggestion. (Sorry for long story).

M.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200901/1

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
Jump to cell ickleyates Excel Discussion (Misc queries) 2 October 18th 08 04:58 AM
Jump to cell based on cell results created by calendar control too JB Excel Discussion (Misc queries) 3 January 15th 08 08:18 PM
Auto-jump to another cell Ellen G Excel Discussion (Misc queries) 6 November 30th 07 08:34 PM
HOW TO JUMP TO THE LAST CELL IN A ROW? Mark Excel Discussion (Misc queries) 3 October 10th 05 03:40 PM
How do I double click a cell and jump to cell's referenced cell JerryJuice Excel Discussion (Misc queries) 2 September 10th 05 10:24 PM


All times are GMT +1. The time now is 09:46 AM.

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"