Close a workbook

M

Mike G.

Dear Gurus and Experts:

Another simple one for you.

I want to close a specific workbook that I have open after
a script is run.

The workbook name is 1RYGMstr ...

Would you please assist me with the coding that would be
required.

Best regards, Mike
mailto:[email protected]
 
T

Tom Ogilvy

workbooks("1RYGMstr.xls").Close SaveChanges:=False

or make SaveChanges:=True
 
Top