Execute from With Excel

P

PCOR

How does one execute a program from inside EXCEL
I have a spreadsheet that requires a number of date entries.
I also have a Visual basic program that displays a calendar. When you click
the required date, that date in place on the clipboard.
I know that I could use a tool bar but would much prefer to run the calendar
from a button on the spreadsheet. That way
it you remain with that spreadsheet
Thanks
 
C

Chip Pearson

The simplest way to do this is with the Shell command. E.g.,

Shell "C:\folder\file.exe", vbNormalFocus


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top