P
PPL
Hi,
I'm writing some VBA to place a series of dialog boxes that I want to
position at the top right hand side of the screen.
Furthermore I'm using the following line to minimize Word 2000 so that I
only see the dialog box
Application.WindowState = wdWindowStateMinimize
Looking at the positioning of the box I've tried the following lines
Me.Left = Application.Width - Me.Width
and
Me.Left = System.HorizontalResolution - Me.Width
Neither of these instructions position the box to the right hand side of the
screen. Both seem to push the box too far to the right?
Has anyone found a similar problem and a solution ?
TIA
Phil
I'm writing some VBA to place a series of dialog boxes that I want to
position at the top right hand side of the screen.
Furthermore I'm using the following line to minimize Word 2000 so that I
only see the dialog box
Application.WindowState = wdWindowStateMinimize
Looking at the positioning of the box I've tried the following lines
Me.Left = Application.Width - Me.Width
and
Me.Left = System.HorizontalResolution - Me.Width
Neither of these instructions position the box to the right hand side of the
screen. Both seem to push the box too far to the right?
Has anyone found a similar problem and a solution ?
TIA
Phil