opening text file

skate

Registered User.
Local time
Today, 13:20
Joined
May 22, 2002
Messages
136
I have a form that views one record at a time. I want to create a button that opens a specific text file (eg. word) depending on the current record. I was thinking it would be along the lines of
Shell "C:\Folder1\Folder2\mydoc.doc", vbMaximizedFocus but possibly having a variable for the document name that will be set according to the record's index?
 
This attachment is for an excel spread sheet. Maybe you can adopt the code for word.
HTH
Dave
 

Attachments

skate,

Is this the sort of thing you are looking for?

IMO
 

Attachments

Users who are viewing this thread

Back
Top Bottom