![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Puerto Vallarta, Mexico
Posts: 869
|
This must be a simple one. I am trying to do a Close function under macro control. The problem is that it always comes back and ask if I want to save first. I dont want to save, just close and I dont want the user to have to answer that question. I want the workbook to just go away. Is there any way to set a setting or something for this? Maybe an instruction that says close without saving? The reason I dont want to save is because I want to always start with my master workbook, all data is put elsewhere. HELP PLEASE
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hello
ActiveWorkbook.Close SaveChanges:=False Tom |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: Puerto Vallarta, Mexico
Posts: 869
|
Damn, tom, you make me feel really dumb. I have fought that one for a while, but then, I dont profess to be a programmer. Thanks a million
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|