Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
File ID name in Excel
Hello Tech Support,
I am writing a macro in excel 2003: I want to be able to use a macro command that will identify the file name I am currently working in a given cell. Is there a macro code I can use that will identify the name of the file I am currently working in? Thank you for your help. Rene' |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
File ID name in Excel
Hi
Try this: Range("A1") = ActiveWorkbook.Name Regards, Per "Rene''48" skrev i meddelelsen ... Hello Tech Support, I am writing a macro in excel 2003: I want to be able to use a macro command that will identify the file name I am currently working in a given cell. Is there a macro code I can use that will identify the name of the file I am currently working in? Thank you for your help. Rene' |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
File ID name in Excel
Hi Rene
Try using ActiveCell.Parent.Parent.Name Hope this helps, -- A. Ch. Eirinberg "Per Jessen" wrote: Hi Try this: Range("A1") = ActiveWorkbook.Name Regards, Per "Rene''48" skrev i meddelelsen ... Hello Tech Support, I am writing a macro in excel 2003: I want to be able to use a macro command that will identify the file name I am currently working in a given cell. Is there a macro code I can use that will identify the name of the file I am currently working in? Thank you for your help. Rene' |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to copy 2007 excel file formula results into a 2003 Excel file | Excel Discussion (Misc queries) | |||
double click excel file on the desktop excel opens but not file? | Excel Discussion (Misc queries) | |||
ExtenXLS loads data into Excel 2002 file but damages the Excel file. | Excel Programming | |||
opening an excel file opens a duplicate file of the same file | Excel Discussion (Misc queries) | |||
Use ADO to transfer data from open excel file to closed excel file | Excel Programming |