Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Address of first visible cell
How can I determine the address of the first visible cell in the active
worksheet? That is the cell in the top, left-hand, corner that is visible in the worksheet's current, scrolled, state? Thanks for any help or suggestions -- jake |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Address of first visible cell
Hi Jake,
Try: '============= Public Sub Tester() Dim Rng As Range Set Rng = ActiveWindow.VisibleRange.Cells(1) MsgBox Rng.Address End Sub '<<============= --- Regards, Norman "Jakobshavn Isbrae" wrote in message ... How can I determine the address of the first visible cell in the active worksheet? That is the cell in the top, left-hand, corner that is visible in the worksheet's current, scrolled, state? Thanks for any help or suggestions -- jake |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Address of first visible cell
Perfect - thank you very much.
-- jake "Norman Jones" wrote: Hi Jake, Try: '============= Public Sub Tester() Dim Rng As Range Set Rng = ActiveWindow.VisibleRange.Cells(1) MsgBox Rng.Address End Sub '<<============= --- Regards, Norman "Jakobshavn Isbrae" wrote in message ... How can I determine the address of the first visible cell in the active worksheet? That is the cell in the top, left-hand, corner that is visible in the worksheet's current, scrolled, state? Thanks for any help or suggestions -- jake |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VBA to address first visible cell in Column "D" after filtering | Excel Discussion (Misc queries) | |||
Autofilter: jump from visible row to visible row by command button | Excel Programming | |||
Worksheet has to set to visible as it is not visible after saving and closing Excel by VB. | Excel Programming | |||
Autoshapes not visible on spreadsheet but visible in print preview | Excel Discussion (Misc queries) | |||
Toggle Text in a column to be visible or not visible | Excel Programming |