Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the string that includes path and filename:
C:\Documents and Settings\Folder1\Folder2\....\filename How can I easily load only the filename to the variable f_name? What you've got there is ThisWorkbook.FullName. To get just the file name use ThisWorkbook.Name and assign that to f_name. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
return filename | Excel Programming | |||
SaveAs Filename:=filename, FileFormat:=xlCSV | Excel Programming | |||
Converting a Variable Filename to a Constant Filename | Excel Programming | |||
set filename to <filename-date on open | Excel Worksheet Functions | |||
Function to return filepath given full filename | Excel Programming |