Hi
I am using this code to run my userform in fullscreen.
I have 7 ppl using the document and it works for all but 1.
For everyone it works fine, the userform is stretched to fit the users screen.
But for one it is stretched to much and the user cant see some of the objects on the userform because they are outside of the screen.
Why is this?
Is there some method to ensure that a userform is stretched "better" on all screens?
I am using this code to run my userform in fullscreen.
I have 7 ppl using the document and it works for all but 1.
Code:
Sub Fullscreen()
'fullscreen för userform
Dim lngWinState As XlWindowState
With Application
.ScreenUpdating = False
lngWinState = .WindowState
.WindowState = xlMaximized
Personalform.Move 0, 0, .Width, .Height
.WindowState = lngWinState
.ScreenUpdating = True
End With
End Sub
For everyone it works fine, the userform is stretched to fit the users screen.
But for one it is stretched to much and the user cant see some of the objects on the userform because they are outside of the screen.
Why is this?
Is there some method to ensure that a userform is stretched "better" on all screens?