GetCursorPos
returns the position of the
cursor relative to the
screen and gives values in
Pixels
Me.label1.Left
returns the position of the
label relative to the
form and gives values in
twips
To complicate matters even further
Window.Left
is going to be relative to the Access Application itself. You will need to get a handle to the application window then use something like GetWindowRect to find it's position. There is an archived example of similar here -
Q242308: HOWTO: Find a Window Handle from an Instance Handle | KnowledgeBase Archive[
^]
Get the pixel positions of everything and you can then calculate the position of the label relative to the form relative to the application then relative to the screen. Edit - you may need to take into account label/form margins and padding
It might be simpler than that - perhaps you just want to convert Twips to Pixels? In which case see
Convert Twip to Pixel (X)[
^]