Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I want to use macro to show the active worksheet's filename & the path (e.g c:\excel\test.xls). How to do it? thx swah |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi WeWa,
With your example, c:\excel\test.xls, ActiveWorkbook.Name will return the workbook name; test.xls ActiveWorkbook.Fullname will return the name and path; c:\excel\test.xls: --- Regards, Norman "WeWa" wrote in message ... Hi I want to use macro to show the active worksheet's filename & the path (e.g c:\excel\test.xls). How to do it? thx swah |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this
MsgBox ActiveWorkbook.FullName -- Regards Ron de Bruin http://www.rondebruin.nl "WeWa" wrote in message ... Hi I want to use macro to show the active worksheet's filename & the path (e.g c:\excel\test.xls). How to do it? thx swah |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
set filename to <filename-date on open | Excel Worksheet Functions | |||
I want a cell to show the current filename automatically. | Excel Discussion (Misc queries) | |||
How to show Excel Filename in the worksheet | Excel Discussion (Misc queries) | |||
Show Filename Only in ComboBox Pulldown | Excel Discussion (Misc queries) | |||
Saving filename same as import filename | Excel Programming |