Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need those functions...
I need a way to get the address range of the cells that are currently showing on the screen for a given worksheet. OR a way to know if a cell or range of cells are currently "on the screen". Screen resolution and the size of each cell will have to be taken into account. I have thought about using API calls to get the screen resolution and then using .height and .width to get the X,Y,H,W values of every cell's (rectangle) then from that, calculate which cells are currently showing on the screen. Is there a better way? I am trying to come up with some routines that can be used keep pertinent data showing on the screen no matter how the user has their screen sizing set. (with in certain boundaries of course, I.E. at least 15 rows and 4 columns or some preset limit; perhaps an upper limit too) I could also see using this to know when to scroll the screen to keep a block of cells near the center of the screen. -- Regards, John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA Range definition: Code needed | Excel Discussion (Misc queries) | |||
Dynamic naming of range needed | Excel Worksheet Functions | |||
ranking in a dynamic range help needed?? | Excel Worksheet Functions | |||
Totaling range help needed | Excel Programming | |||
Formula needed for date range | Excel Programming |