× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Once you have the application object, then Run will do it. You need to know the name in advance, although there is probably a way to see the list.

Run Method

Runs a Visual Basic macro.

Application.Run(MacroName, varg1, varg2, varg3, varg4, varg5, varg6, varg7, varg8, varg9, varg10, varg11, varg12, varg13, varg14, varg15, varg16, varg17, varg18, varg19, varg20, varg21, varg22, varg23, varg24, varg25, varg26, varg27, varg28, varg29, varg30)

Vern

At 08:13 AM 1/16/2003 -0600, you wrote:
Dan,
I don't know of anyway to run a macro from a VB program, nor do I even know that it is even possible. Unless I'm wrong, a macro is specific only to the Word, or Excel application it was created in. I could be wrong. Calling a macro from a VB program would be like calling a RPG program that turns on an indicator to highlight a field on the screen of the calling program. You don't need to call the program to turn on the indicator. Just like you don't need to call the macro because it can be taken care of in the VB program. I don't know if that makes any sense.
Griz


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.