Ruddles
Well-known Member
- Joined
- Aug 24, 2010
- Messages
- 5,851
- Office Version
- 365
- Platform
- Windows
I'm using Office 2007 under Windows 7. I have a button on an Excel worksheet which shells to the Snipping Tool to allow the user to manually capture part of the screen:-
This returns a Run-time error 53 File not found. The same happens if I run that command from the Immediate window (or in fact from MS Access). However if I put Notepad.exe in the Shell command, Notepad starts without a hitch.
SnippingTool.exe is definitely in C:\Windows\System32\ and it runs okay from the Start Run... button. It also works okay under Vista.
Why should Notepad run but not the Snipping Tool? Has anyone else come across this? Can anyone with Windows 7 please spare a moment to confirm their system exhibits the same behaviour?
TIA,
R.
Xposted at http://www.ozgrid.com/forum/showthread.php?t=145767 three weeks ago: not a single response received.
Code:
Shell "c:\windows\system32\snippingtool.exe", vbNormalFocus
SnippingTool.exe is definitely in C:\Windows\System32\ and it runs okay from the Start Run... button. It also works okay under Vista.
Why should Notepad run but not the Snipping Tool? Has anyone else come across this? Can anyone with Windows 7 please spare a moment to confirm their system exhibits the same behaviour?
TIA,
R.
Xposted at http://www.ozgrid.com/forum/showthread.php?t=145767 three weeks ago: not a single response received.