Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I opened a new session of excel and kept the personal macro file unhidden. Then I opened a new worksheet book1. In VB I inserted a module in Book 1. Then I wrote this code. Surprsingly, excel saved book 1 in my Xlstart folder along with the personal macro workbook. ( I had not saved Book 1) Sub closingexcel() Application.DisplayAlerts = False Application.Quit Workbooks("book1").Save Workbooks("personal").Save End Sub Regards, Hari India |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Closing workbooks w/o closing Excel | Excel Discussion (Misc queries) | |||
Saving and Closing | Excel Discussion (Misc queries) | |||
Saving when closing excel | Excel Discussion (Misc queries) | |||
close workbooks without closing excel ? | Excel Discussion (Misc queries) | |||
Closing Excel without saving | Excel Discussion (Misc queries) |