Hi,
Would it be possible to have your help to get a code that allows to copy an image loaded in a user form to worksheet 4 in cells A12:N12 and M12:BL12?
I have the below code but I do not know how to make it work for the range of cells where I need to insert the pictures. I would appreciate a lot your help.
Set img1 = ActiveSheet.OLEObjects.Add(ClassType:="Forms.Image.1", Link:=False, _
DisplayAsIcon:=False, Left:=ActiveSheet.Cells(1, 12).Left, Top:=ActiveSheet.Cells(1, 1).Top, Width:=123, Height:= _
49.5)
img1.Object.Picture = Me.Image1.Picture
Thank you.
Would it be possible to have your help to get a code that allows to copy an image loaded in a user form to worksheet 4 in cells A12:N12 and M12:BL12?
I have the below code but I do not know how to make it work for the range of cells where I need to insert the pictures. I would appreciate a lot your help.
Set img1 = ActiveSheet.OLEObjects.Add(ClassType:="Forms.Image.1", Link:=False, _
DisplayAsIcon:=False, Left:=ActiveSheet.Cells(1, 12).Left, Top:=ActiveSheet.Cells(1, 1).Top, Width:=123, Height:= _
49.5)
img1.Object.Picture = Me.Image1.Picture
Thank you.