LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default passing strings

I need some help with argument passing....

I have a macro (let's call it TEST()) that I will run from a Master
file. The results will go in seperate files.

The macro TEST() would be the same for each file with the exception
that the file name would change
ex : Windows("Rider.xls").Activate

the rest of the macro (TEST()) does not varie from file to file.
So from my master file I would have calls to this macro (TEST()) and
pass the name of the file I want to generate (eg. Rider1, Rider2,
Rider3, ect.)

I could then simply call Windows("STRING").Activate from the macro .
STRING being the string I would pass from the master file

What is the easiest (or pretiest) way to do this?


thanks

Pabs


---
Message posted from http://www.ExcelForum.com/

 
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
find and replace numeric strings in larger text strings Mr Molio Excel Worksheet Functions 8 November 9th 11 05:17 PM
How to find number of pairs of strings from list of strings? greg_overholt Excel Worksheet Functions 5 January 27th 06 10:42 PM
Finding strings within strings Rod[_6_] Excel Programming 1 December 2nd 03 05:34 PM
Finding strings within strings Rod[_6_] Excel Programming 1 December 2nd 03 05:19 PM
passing strings Sirron Excel Programming 2 August 27th 03 04:33 PM


All times are GMT +1. The time now is 09:04 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"