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

running a macro

Status
Not open for further replies.

ethorn10

Programmer
Feb 18, 2003
406
US
I'm new at this so take it easy on me. I've been assigned to use VBScript in a webpage to launch a software app and once that app is open, run a macro that was written using a Visual Basic Editor with methods that are dependent upon that software.

In other words:
1. Launch the application (got this part down)
2. Run the application dependent macro once open (need help here)

All I need is pointed in the right direction. I have a feeling it's either impossible or something simple that I'm just not noticing. Thanks.
 
what app are you launching?

You could use an auto_open macro in the application you are starting.

eg in Word, you can define a document onOpen() macro which will run whenever that document is loaded. Similar for Excel.

Or have a look at command line parameters for the app being launched - might be able to do it that way.
 
I'll be launching something called ArcCatalog from ESRI. I can't seem to find anything on the command line parameters that it accepts. Any other help is greatly appreciated.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top