L33
Board Regular
- Joined
- Jul 2, 2008
- Messages
- 108
Hi,
I have a piece of VBA that works perfectly well under a Windows XP operating system, but we've just had Windows 7 installed at work and now it won't work properly:
The Save As dialog box no longer automatically has the suggested file name (ie."CorporateName.xlsm") in the "File Name" field, and also the "Save As Type" dropdown beneath it contains a single option which reads "All Files (*.*)"
If I manually type in a name I have to include the ".xlsm" extension - but I don't want my users to have to remember to do this. I want them to be presented with the suggested filename in the suggested path.
Any suggestions as to what needs tweaking?
I have a piece of VBA that works perfectly well under a Windows XP operating system, but we've just had Windows 7 installed at work and now it won't work properly:
Code:
FileSaveName = Application.GetSaveAsFilename(myReportStore & "\" & CorporateName & ".xlsm")
ActiveWorkbook.SaveAs FileSaveName
The Save As dialog box no longer automatically has the suggested file name (ie."CorporateName.xlsm") in the "File Name" field, and also the "Save As Type" dropdown beneath it contains a single option which reads "All Files (*.*)"
If I manually type in a name I have to include the ".xlsm" extension - but I don't want my users to have to remember to do this. I want them to be presented with the suggested filename in the suggested path.
Any suggestions as to what needs tweaking?