Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 178
Default execute .acsup script from VBA macro

Good Morning Guys! and Thank You in advance for your help. Here's my
question:

I have a macro that runs through a list of .txt files created from a
avaya cms script. What i would like to do is to only have to run the
macro and have the macro run the script then run through the data
instead of having to first run the script and THEN run the macro.

I've found that just double-clicking on the script will allow it to
run without any issue, so i don't need to specifically run it via the
cms menus.

How can i execute a file (like double clicking on it) via VBA?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default execute .acsup script from VBA macro

See Shell Function in VBA help.


Gord Dibben Microsoft Excel MVP

On Thu, 15 Sep 2011 11:53:41 -0700 (PDT), Matthew Dyer
wrote:

Good Morning Guys! and Thank You in advance for your help. Here's my
question:

I have a macro that runs through a list of .txt files created from a
avaya cms script. What i would like to do is to only have to run the
macro and have the macro run the script then run through the data
instead of having to first run the script and THEN run the macro.

I've found that just double-clicking on the script will allow it to
run without any issue, so i don't need to specifically run it via the
cms menus.

How can i execute a file (like double clicking on it) via VBA?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 178
Default execute .acsup script from VBA macro

On Sep 15, 1:21*pm, Gord wrote:
See Shell Function in VBA help.

Gord Dibben * *Microsoft Excel MVP

On Thu, 15 Sep 2011 11:53:41 -0700 (PDT), Matthew Dyer



wrote:
Good Morning Guys! and Thank You in advance for your help. Here's my
question:


I have a macro that runs through a list of .txt files created from a
avaya cms script. What i would like to do is to only have to run the
macro and have the macro run the script then run through the data
instead of having to first run the script and THEN run the macro.


I've found that just double-clicking on the script will allow it to
run without any issue, so i don't need to specifically run it via the
cms menus.


How can i execute a file (like double clicking on it) via VBA?- Hide quoted text -


- Show quoted text -


Got it! it took some extra steps though. I had to create a batch file
that pointed to my cms script and call the batch file with the shell
function instead of calling the cms script directly.

I have another question though and hope you can provide some
direction.

The CMS Script is coded in VB Script, and of course my macro is coded
in VBA. There are similar variables that I would use in both the macro
and in the cms script. If I declare these as public in the Macro,
would they be accessable in the CMS Script? Vice Versa?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Execute Macro dennis[_2_] Excel Discussion (Misc queries) 4 January 17th 09 04:47 PM
How to connect to a Unix box from Windows and execute a script? Michael[_44_] Excel Programming 1 October 19th 06 02:46 AM
the macro don't execute robson soares Excel Programming 5 January 12th 06 06:57 PM
execute a macro Rossy Excel Programming 2 December 15th 05 09:04 AM
Execute Macro Yves Excel Discussion (Misc queries) 3 April 23rd 05 04:26 PM


All times are GMT +1. The time now is 08:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"