Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings and Happy New Year,
I have been perusing this forum the last few weeks trying to address a specific problem. I have used the search function and found a lot of good information, but nothing that addresses my requirements. I am trying to find an efficient way to 1) prompt a user to enter a file designation and 2) save the file in a specific folder. This is the code I've written so far, minus all the steps leading to the prompt... ActiveWindow.SelectedSheets.PrintPreview Dim Message, Title, Default, NAME Message = "Enter the SHOE number(s) to identify the folder" 'Set prompt Title = "Folder Identification" 'Set Title Default = "Latest Inspection" ' Set Default 'Display message, title, and default values. NAME = InputBox(Message, Title, Default) ChDir "H:\CMM REPORTS" ActiveWorkbook.SaveAs Filename:="H:\CMM REPORTS\V125D0\SHOES\Cavities\(NAME).xls", _ FileFormat:=xlText, CreateBackup:=False I thought that by placing (NAME) in the SaveAs string that it would take the information from the Message Box and input it to the Filename, but that is not the case. Any suggestions? Some interesting weather here in New England, this first working day of ' 06....hope y'all are staying warm. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
save prompt for user exit, but no save prompt for batch import? | Excel Discussion (Misc queries) | |||
Unexpected SaveAs prompt for workbooks with pivot tables | Excel Programming | |||
SaveAs without prompt | Excel Programming | |||
More help with SaveAs | Excel Programming | |||
Help with SaveAs | Excel Programming |