K
Kevbro7189
I have a table with a list of over 10,000 files. The table doesn’t contain a
location or file extention. I want a macro to open a specific file when a
button next to the name is clicked on. Below is the Macro I have come up
with so far. [Text6] populates automatically with the name of the file when
the associated button is clicked.
Macro
SetTempVar
Name: PRTOPEN
Expression: [Forms]![Table1]![Text6]
RunApp
Command Line: "C:\ winword.exe" "C:\†[TempVars]![PRTOPEN] ".doc"
RemoveAllTempVars
location or file extention. I want a macro to open a specific file when a
button next to the name is clicked on. Below is the Macro I have come up
with so far. [Text6] populates automatically with the name of the file when
the associated button is clicked.
Macro
SetTempVar
Name: PRTOPEN
Expression: [Forms]![Table1]![Text6]
RunApp
Command Line: "C:\ winword.exe" "C:\†[TempVars]![PRTOPEN] ".doc"
RemoveAllTempVars