OMGSALESFORCE2
New Member
- Joined
- Feb 24, 2021
- Messages
- 24
- Office Version
- 365
- 2019
- 2016
Code from above...if I open Repeating PDF.pdf it cuts off at Repeating and won't let me concatenate even with double or triple quotations
Sub fu()
'The path to the file, replaces spaces with the encoding "%20"
Dim vPID As Variant
Dim wshell As Object
Dim googlepath As String
googlepath = "C:\Program Files\Google\Chrome\Application\chrome.exe -URL C:\Users\18622\OneDrive\Desktop\RepeatingPDF.pdf"
Set wshell = CreateObject("Wscript.shell")
Set vPID = wshell.exec(googlepath)
End Sub