![]() ![]() Note: Select the Object Browser Icon to see full list of features. Run the code by pressing the play/run button.Ret = Sheet1.FoxitPDFSDK 1.OpenFile (“E:\foxit\SE\f20.pdf”, “”) Make changes to the code below to match the path of a PDF on your desktop:.Sub AddFoxitPDFSDKPro ( ) Dim Target As Range Set Target = Cells( 1, 4) Set WSheet = ThisWorkbook.Worksheets ("Sheet1") Set MyPDFSDK = ( ClassType :=" Foxit.FoxitPDFSD KProCtrl.5", Link:=False, DisplayAsIcon :=False, Left:= Target.Left, Top:= Target.Top, Width:=400, Height:= 600) End Sub Sub OpenFile ( ) Dim ret ret = Sheet1.FoxitPDFSDK 1.OpenFile ("E:\foxit\SE\f20.pdf", "") Sheet1.FoxitPDFSDK 1.GoToPage (2) End Sub In the Project View, select ThisWorkbook and copy and paste the code below.Next, extract the zip archive with the following command. If you download directly from the site skipping the wget command, in most cases, this will be in your download directory. Note: You may need to change the file type to. Once downloaded, open your terminal and navigate to the directory you downloaded the Foxit Reader archive. ocx and press open, then press okay to add the reference. ![]()
0 Comments
Leave a Reply. |