HOW DO I create a command button to access word document from

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

using the command wizard, how do i create a command button on my access page,
that will bring up a word document?'
 
Go to the API section of www.MVPS.Org/Access and look at the first (or maybe
second ) example. This code will allow you to browse to a file. So put this
code in the beginning of the Click event of your button. The path to the
file you select is assigned to a variable which I think is StrFile. So
following this code add:
Application.FollowHyperlink StrFile.
 
Back
Top