Hi
Hopefully someone can help. I am wanting to open a pdf, print and close all from vba.
the address is embedded in the worksheet. I can get the pdf to open but no further than that
My code thus far is:
Private Sub CommandButton1_Click()
addy = Sheets("laska").Range("af3").Value
x = Shell("EXPLORER.EXE " & addy, vbNormalFocus)
End Sub
I have been playing around with the application.sendkeys but with no luck
Cheers
Jeff
Hopefully someone can help. I am wanting to open a pdf, print and close all from vba.
the address is embedded in the worksheet. I can get the pdf to open but no further than that
My code thus far is:
Private Sub CommandButton1_Click()
addy = Sheets("laska").Range("af3").Value
x = Shell("EXPLORER.EXE " & addy, vbNormalFocus)
End Sub
I have been playing around with the application.sendkeys but with no luck
Cheers
Jeff