portews
Active Member
- Joined
- Sep 4, 2009
- Messages
- 439
- Office Version
- 2016
- 2003 or older
- Platform
- Windows
I recently changed over from a Windows XP box running Excel 2010 to a 64 bit Window 7 box running Excel 2010. One of my macros would bring up a save box upon opening, making the user save the template. I would populate the filename with a new name and allow the user to select the directory.
On the new box, when the macro is run, the save dialog comes up, the the filename does not populate.
Is this a setting in Excel, a glitch in Windows 7 or a change in programming requirements?
Thanks!
ThisFile = Worksheets("Transmittal").Range("F1").Value
newName = Application.GetSaveAsFilename("S:\Transmittal " & ThisFile & ".xls")
If newName = False Then GoTo do_not_overwrite
ActiveSheet.SaveAs Filename:=newName
On the new box, when the macro is run, the save dialog comes up, the the filename does not populate.
Is this a setting in Excel, a glitch in Windows 7 or a change in programming requirements?
Thanks!