berty2000
Board Regular
- Joined
- Mar 29, 2011
- Messages
- 71
Hi
Im trying to pull images from hard drive locations into a userform multipage, but it displays the image behind the multipage.
I'm trying to put the picture in Image1 on the userform. This is what i got so far.
Im trying to pull images from hard drive locations into a userform multipage, but it displays the image behind the multipage.
I'm trying to put the picture in Image1 on the userform. This is what i got so far.
Code:
Sub Addpictures()
MultiPage1.Value = 0
Set img = poo1.Controls.Add("Forms.Image.1")
With img
.Picture = LoadPicture("C:\Pictures to Use\team1.jpg") 'Image Path here
'Align the Picture Size
.PictureSizeMode = fmPictureSizeModeStretch
'Image Position
.Left = 50
.Top = 10
End With
End Sub