fluffyvampirekitten
Board Regular
- Joined
- Jul 1, 2015
- Messages
- 72
I wanna overwrite my active workbook
Any ideas?
I have this few lines of codes.However , it created another file name instead of overwriting it
How to put all the format -
Im using excel 2013 .
Thanks in advance
Any ideas?
Code:
Application.EnableEvents = False
filename = Application.GetSaveAsFilename
ThisWorkbook.SaveAs filename & ".xls"
ThisWorkbook.Saved = True
Application.EnableEvents = True
I have this few lines of codes.However , it created another file name instead of overwriting it
How to put all the format -
Im using excel 2013 .
Code:
ThisWorkbook.SaveAs filename & ".xls"
Thanks in advance