ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Position of CellCursor on Screen (absolute position) (https://www.excelbanter.com/excel-programming/346260-position-cellcursor-screen-absolute-position.html)

[email protected]

Position of CellCursor on Screen (absolute position)
 
Hi NG,
I try to get the left upper corner of the current cell, which is
visible. The y-Value I get with:
ActiveCell.Top + Application.Top + (ActiveWindow.UsableHeight -
ActiveWindow.Height)
But there seems to be a unknown part. If I extend the commandBars so
that a new CommandBar-Line appears, the the top-position changes. Is
there a better way to get the top-position of a cell?

tx Joerg


Vic Eldridge[_3_]

Position of CellCursor on Screen (absolute position)
 
Hi Joerg,

The following thread may shed a little light on your issue.

http://groups.google.com.au/group/mi...9aac2dde2e778/

Regards,
Vic Eldridge


" wrote:

Hi NG,
I try to get the left upper corner of the current cell, which is
visible. The y-Value I get with:
ActiveCell.Top + Application.Top + (ActiveWindow.UsableHeight -
ActiveWindow.Height)
But there seems to be a unknown part. If I extend the commandBars so
that a new CommandBar-Line appears, the the top-position changes. Is
there a better way to get the top-position of a cell?

tx Joerg




All times are GMT +1. The time now is 09:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com