Open Word Doc with same name as a Access Form Field

  • Thread starter Thread starter Stacey
  • Start date Start date
S

Stacey

I want to locate VB code that I can attach to a command
button in a form. When clicked, this code will open a MS
Word document in another folder that has the same
filename as the contents as one of the form fields.
1. Can this be done?
2. Where can I find such code?

Thanks in advance,
Stacey
 
The simplest way is with something like

Application.FollowHyperlink "D:\Folder\Folder\" & _
Me.NameOfField.Value
 
Back
Top