Path name in Excel workbook for Macro 
Author Message
 Path name in Excel workbook for Macro

I have a macro stored in Worksheet A that opens another file (Worksheet B).  
I would like to put the path and filename of Worksheet B inside Worksheet A,
so that it's not hidden in the Macro.  How can I reference the worksheet path
& filename in Worksheet A from the Macro?


Tue, 21 Dec 2010 00:16:00 GMT  
 Path name in Excel workbook for Macro


Quote:
>I have a macro stored in Worksheet A that opens another file (Worksheet B).
> I would like to put the path and filename of Worksheet B inside Worksheet
> A,
> so that it's not hidden in the Macro.  How can I reference the worksheet
> path
> & filename in Worksheet A from the Macro?

You'd be better served by asking this question in
microsoft.public.excel.programming.


Tue, 21 Dec 2010 01:38:11 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Populating a ListBox via a VBA macro when opening an Excel Workbook

2. Usage of Excel addin macros in a workbook?

3. Usage of Excel addin macros in a workbook?

4. How do I Create an On-Open Macro for Excel Workbook

5. how delete a macro within an Excel Workbook by using VB

6. Embedding Excel Macro into Workbook

7. how delete a macro within an Excel Workbook by using VB

8. How to Run A Macro In An Excel WorkBook From Vb5

9. Excel workbook macro cannot find personal.xls

10. Opening an Excel Workbook w/o enabling macros

11. function to see if an Excel worksheet name exitsts in a workbook

12. detect the worksheet-names in an EXCEL 5.0 workbook

 

 
Powered by phpBB® Forum Software