LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default CORRECT SYNTAX FOR RUN...

Hi,

Thanks everyone for your help.

I think Bob Phillips may be right.

if the macro to run were in the same file as the macro calling it, the
following would work:

STRING = "'MACRO_WITHOUT_FILEPATH, "ARGUMENT 1", ETC '"

Run STRING

if the macro to run were in another file but had no arguments the
following works:

STRING = "FILE.xls!MACRO"

Run STRING

But no variations of these seem to work for the case of a macro taking
arguments, and located in another file

Thanks again.

Ian

 
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
Correct Syntax TeeSee Excel Discussion (Misc queries) 6 February 28th 08 01:36 AM
CORRECT SYNTAX FOR RUN... [email protected] Excel Programming 2 August 19th 06 12:39 AM
Correct Syntax Ronbo Excel Programming 2 February 21st 06 01:57 PM
Correct VBA syntax Ken G. Excel Discussion (Misc queries) 3 December 7th 05 12:35 AM
Can't get this syntax correct, please help. Sharlene England Excel Programming 4 December 1st 03 05:41 PM


All times are GMT +1. The time now is 03:29 AM.

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

About Us

"It's about Microsoft Excel"