By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,852 Members | 2,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,852 IT Pros & Developers. It's quick & easy.

run VB6 from excel?

100+
P: 175
is it possible to run a VB6 program from a VBA Excel macro? If it is, would it also be possible to pass a value to the VB6 program?
Apr 26 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 5K+
P: 8,434
is it possible to run a VB6 program from a VBA Excel macro? If it is, would it also be possible to pass a value to the VB6 program?
You can use the Shell function to run an EXE, regardless of the language in which it was created. Also, I expect that you can pass data on the command line, by including it in the string passed to Shell. Your VB program would pick up the parms from Command$.

There are other ways to communicate with your application - for example DDE, or OLE automation.
Apr 26 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.