Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
something which I have looked hard for is to be able to change path
and file name where I can input the text manually. So I tried for myself and here is what I came up with. If you find it useful let me know. Dim myPath As String Dim myFilename As String 'point at the (UNC) path here. myPath = InputBox("enter path here") If Right(myPath, 1) < "\" Then myPath = myPath & "\" End If myFilename = InputBox("enter filename here") & " your text here if common ending .xls" ActiveWorkbook.SaveAs Filename:=myPath & myFilename Cheers Mark |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula too long - new file path is shorter than old file path - Excel 2003 | Excel Worksheet Functions | |||
if i save as the excel file, macros path changed | Excel Programming | |||
Want to Set the File Save As path | Excel Programming | |||
Path\File name length problem Excel Crash on save as | Excel Discussion (Misc queries) | |||
get path - save new file - same sub-directory as existing file | Excel Programming |