I have a userform that I am using as a splash screen while the spreadsheet loads and does some initial processing
So the userform is called Splashscreen
The userform has an image which exactly fills the userform. The userform properties for the image are
![]()
.picturealignment is set to 0 (frame Top Left) .fmPictureSizeMode is set to 1 (fmPictureSizeModestretch) .zoom is set to 100
The userform resizes correctly but the image does not resize at all.![]()
SplashScreen.Show SplashScreen.Height = Application.UsableHeight SplashScreen.Width = Application.UsableWidth
It makes no difference if I set .fmPictureSizeMode is set to 3(fmPictureSizeModeZoom)
I can set the zoom and that does make the image change size but both dimensions change the same amount
However the client monitor can be square, wide or almost any other shape si some of the splashscreen image will be lost.
Is there any way I can stretch the image to follow the userform? (recognising that the image will be distorted if the aspect ratio is changed)
TFAI
Bookmarks