Screen Pixels and Document Points Conversion

  • In trying to align commandbars etc (for which .Left and .Width returns pixels from left of screen) with document windows (for which .Left and .Width returns points from left of application window) I am having some difficulty.

    The conversion function


    gives results that are inconsistent.

    Anyone resolved this issue?

  • Re: Screen Pixels and Document Points Conversion

    hi BruceMutton,

    Welcome to

    pls don't repeat yr post in a different thread as it may confuse the volunteers
    here. :nono:

    you can simply use Edit to correct yr post

    for a location indicator, you can download FormPosition from CPearson:


    Xlite :sheep:
    [st]All you need to learn VBA is an internet connection and[/st]

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!