LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default SaveAS to a specific folder, with operator input of file name

Something as simple as?

Dim sFile As String
sFile = InputBox("Supply filename")
If sFile < "" Then
ActiveWorkbook.SaveAs "C:\myTestt\" & sFile
End If



--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

wrote in message
ups.com...
I have tried several of the options posted here, but the files do not
end up where the path would indicate. In some cases I cannot find them
at all.

The goal is this; after running the macro, prompt the operator to give
the worksheet a file name, and then save it to a specific folder. The
operator needs to change the file name each time to avoid overwriting
previous runs.

I have also tried to save as an .xcl type (it is a .txt when done), but
this creates a window without the option to choose the type.

Suggestions?



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving file to a specific folder richkim2000 Excel Discussion (Misc queries) 1 January 25th 05 11:11 PM
How to save file to a specific folder? rko281 Excel Discussion (Misc queries) 1 January 25th 05 10:43 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
How do I specify a specific char delimiter for my file, when I sa. Mystic Vampyr Excel Discussion (Misc queries) 1 January 7th 05 04:40 PM
Hyperlink to specific sheet in Excel Web File jd17 Links and Linking in Excel 0 December 8th 04 09:03 PM


All times are GMT +1. The time now is 02:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"