Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel-VB Macro Variables
I have not worked with macros but I think I could use one to really speed
things up. How do I assign a variable in VB to pick up the name of an Excel file that changes each time I open a new file? I have to open many files, and copy various cells to another spreadsheet. Any ideas? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel-VB Macro Variables
Hi Eunice,
See Ron de Bruin at: http://www.rondebruin.nl/copy3.htm for sample code and techniques. --- Regards, Norman "Eunice W" wrote in message ... I have not worked with macros but I think I could use one to really speed things up. How do I assign a variable in VB to pick up the name of an Excel file that changes each time I open a new file? I have to open many files, and copy various cells to another spreadsheet. Any ideas? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel-VB Macro Variables
Thank you Norman, looks like just the ticket. How ever did you locate this!
"Norman Jones" wrote: Hi Eunice, See Ron de Bruin at: http://www.rondebruin.nl/copy3.htm for sample code and techniques. --- Regards, Norman "Eunice W" wrote in message ... I have not worked with macros but I think I could use one to really speed things up. How do I assign a variable in VB to pick up the name of an Excel file that changes each time I open a new file? I have to open many files, and copy various cells to another spreadsheet. Any ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
macro calling another macro + variables | Excel Discussion (Misc queries) | |||
Calling Macro - Will it take variables? | Excel Programming | |||
Passing Variables to another macro | Excel Programming | |||
Passing variables from Outlook Macro to Excel Macro | Excel Programming | |||
passing variables from an excel macro to a powerpoint macro | Excel Programming |