insert pdf image

c_jojo_2

New Member
Joined
Apr 20, 2020
Messages
1
Office Version
  1. 2007
Platform
  1. Windows
good day!!

i want to know if it is possible to add a .pdf image to an image object in a user form please see attached , my code for .jpg and .tif working

Private Sub CommandButton1_Click()
With UserForm6

Image1.Picture = LoadPicture("C:\Users\jojoc\Desktop\food pix\boddle fight.jpg")

End With



End Sub


thank you in advance
 

Attachments

  • Capture.PNG
    Capture.PNG
    157.4 KB · Views: 6

Some videos you may like

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Watch MrExcel Video

Forum statistics

Threads
1,118,755
Messages
5,574,043
Members
412,565
Latest member
roberttaekim
Top