Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell command won't work in Windows 10

Status
Not open for further replies.

dkaplan

Programmer
Jan 29, 2001
98
0
0
US
I have an Access form that opens a Word merge document with the following command:

Call Shell("winword.exe" & " " & strFileName, 1)

The command is in the onClick event of a button.

This works on all of our Win 7 machines, but when run from a Win 10 machine, I get Run-time error '53' File not found. Any thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top