How can I open a word or a pdf document with a button by a vb code?
Use the FollowHyperlink method, change path and file name to suit.
Sub Button1_Click() ActiveWorkbook.FollowHyperlink "C:\x.pdf" End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks