Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to find out when you are near the top of a worksheet
Hi,
I have a worksheet which I am populating with graphics...I want to detect when I am say 10 rows from the top of the chart so I can rescale; I know there is a rows property and one can have rows(1) or some such but how would I code that I want to detect what row number I am from the top, anyone know, thanks for your help, regards, Mark |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to find out when you are near the top of a worksheet
The TopLeftCell property of the object:
Sub PixRow() Dim PixRw As Long PixRw = Sheet1.Pictures(1).TopLeftCell.Row End Sub Mike F "Mark Stephens" wrote in message ... Hi, I have a worksheet which I am populating with graphics...I want to detect when I am say 10 rows from the top of the chart so I can rescale; I know there is a rows property and one can have rows(1) or some such but how would I code that I want to detect what row number I am from the top, anyone know, thanks for your help, regards, Mark |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to find out when you are near the top of a worksheet
Thanks Mike, much appreciated, kind regards, Mark
"Mike Fogleman" wrote in message . .. The TopLeftCell property of the object: Sub PixRow() Dim PixRw As Long PixRw = Sheet1.Pictures(1).TopLeftCell.Row End Sub Mike F "Mark Stephens" wrote in message ... Hi, I have a worksheet which I am populating with graphics...I want to detect when I am say 10 rows from the top of the chart so I can rescale; I know there is a rows property and one can have rows(1) or some such but how would I code that I want to detect what row number I am from the top, anyone know, thanks for your help, regards, Mark |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find tab in worksheet | Excel Discussion (Misc queries) | |||
how to find and unlink current worksheet from old worksheet | Excel Discussion (Misc queries) | |||
Find Worksheet | Excel Programming | |||
Find a Worksheet | Excel Programming | |||
Find a worksheet | Excel Programming |