DutchKevin
Board Regular
- Joined
- Apr 13, 2011
- Messages
- 133
- Office Version
- 365
- Platform
- Windows
Hi All,
I've been searching around a while now and found several "almost what I need" solutions.
The thing I'm working on is a VBA macro that:
- triggers a save-as dialog
- uses the current file name, allows a different name
- limits filetypes in the list to xlsx, xlsm
- allows changing current filetype e.g. from xlsx -> xlsm, or vice versa
- and that starts from a predefined folderlocation on my c-drive, from a variable
So far I've explored options that use Application.Dialogs(xlDialogSaveAs) and Application.FileDialog(msoFileDialogSaveAs) but it never really gets all the way.
Either the destination folder does not "stick", or the file extension filter is failing, or the file type changing is causing error. Each option I test seems to have at least one part from the wish-list missing.
Could anyone please point me in the right direction? I assume that what I attempt here is not impossible ???
Thanks in advance
I've been searching around a while now and found several "almost what I need" solutions.
The thing I'm working on is a VBA macro that:
- triggers a save-as dialog
- uses the current file name, allows a different name
- limits filetypes in the list to xlsx, xlsm
- allows changing current filetype e.g. from xlsx -> xlsm, or vice versa
- and that starts from a predefined folderlocation on my c-drive, from a variable
So far I've explored options that use Application.Dialogs(xlDialogSaveAs) and Application.FileDialog(msoFileDialogSaveAs) but it never really gets all the way.
Either the destination folder does not "stick", or the file extension filter is failing, or the file type changing is causing error. Each option I test seems to have at least one part from the wish-list missing.
Could anyone please point me in the right direction? I assume that what I attempt here is not impossible ???
Thanks in advance