|
Question : How to close excel file from Macro?
|
|
Hi,
I would like to close an open excel file from Macro, may I know how to do that?
Thanks!
|
|
Answer : How to close excel file from Macro?
|
|
Hi
You need this;
ThisWorkbook.Close
If you want to automatically save changes, without being prompted, the code will look like this;
ThisWorkbook.Close savechanges:=True
heilage
|
|
|
|