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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run a windows program

Status
Not open for further replies.

qdtb

Technical User
Mar 14, 2002
12
PR
Hi

How can I run a Windows program, (example notepad, calculator, etc.,.), with a VBA project.??

Thank You
 
Try going into keyword search on this site, using the keyword Shell. Should find some pointers in that, hope it helps
 
This code runs the windows calculator.

Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", vbNormalFocus) ' Runs Calculator.
Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top