Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
one way:
Dim fName As String Dim nLen As Integer fName = ActiveWorkbook.Name nLen = Len(fName) - 3 If Mid(fName, nLen, 1) = "." Then _ fName = Left(fName, nLen - 1) In article , Marshall wrote: I would like to try and retrieve the filename of the current workbook, without having the ".xls" portion of it attached. I'm currently retrieving the ActiveWorkbook.Name maybe there is a way to parse this or something? Any help is greatly appreciated. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
merge from an attached word doc | Excel Discussion (Misc queries) | |||
Cell("filename") doesn't update to new filename when do save as. | Excel Worksheet Functions | |||
Accessing Attached xls File | Excel Worksheet Functions | |||
set filename to <filename-date on open | Excel Worksheet Functions | |||
HELP with statistics on the attached file | Excel Discussion (Misc queries) |