G
Gixxer_J_97
hi all!
i have a userform (userform1) and an image on the userform (image1)
i am trying to set the top, left, height and width using the following:
Public Sub setLogo(logo As Image, form As UserForm)
form.logo.Left = 6
form.logo.Top = 6
form.logo.Width = 66
form.logo.Height = 48
End Sub
but i am getting
Run-time error '438'
Object doesn't support this property or method
what am i doing wrong?
oh - and the call is
call setLogo(Image1,UserForm1)
tia
J
i have a userform (userform1) and an image on the userform (image1)
i am trying to set the top, left, height and width using the following:
Public Sub setLogo(logo As Image, form As UserForm)
form.logo.Left = 6
form.logo.Top = 6
form.logo.Width = 66
form.logo.Height = 48
End Sub
but i am getting
Run-time error '438'
Object doesn't support this property or method
what am i doing wrong?
oh - and the call is
call setLogo(Image1,UserForm1)
tia
J