Cyclosarin
New Member
- Joined
- Aug 26, 2021
- Messages
- 3
- Office Version
- 2010
- Platform
- Windows
Hello there,
I'm stumped, so i have a macro enabled Template in C:\Template\ChangeRequest\
In that same folder i have different folders all named incrementally like so:
Then when pressing a save button create a directory with that same value then save the sheet as a ".xlsx" (no macro's), and if it already exists show a message that it can't be overwritten and maybe a promt to fill in a new name.
I can't for the life of me find something simillar to start off of..
Please help?
I'm stumped, so i have a macro enabled Template in C:\Template\ChangeRequest\
In that same folder i have different folders all named incrementally like so:
What i'd like to do is for Excel to look what the last folder name is, add 1 and put that in "D6" as a value.C:\Template\ChangeRequest\CR-0001
C:\Template\ChangeRequest\CR-0002
C:\Template\ChangeRequest\CR-0003
C:\Template\ChangeRequest\CR-0004
C:\Template\ChangeRequest\CR-0005 etc...
Then when pressing a save button create a directory with that same value then save the sheet as a ".xlsx" (no macro's), and if it already exists show a message that it can't be overwritten and maybe a promt to fill in a new name.
I can't for the life of me find something simillar to start off of..
Please help?