![]() |
![]() |
|
|||||||
| 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: Feb 2002
Location: Huntington Beach, CA USA
Posts: 327
|
In my code the file closes without being saved which is what i want it to do.How can i
suppress Excels save message? I've tried Application.DisplayAlerts with no success. Any ideas would be appreciated. James _________________ [ This Message was edited by: James on 2002-05-18 15:28 ] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
Try:
Application.DisplayAlerts = False or ActiveWindow.Close savechanges:=False
__________________
It's never too late to learn something new. Ricky |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Huntington Beach, CA USA
Posts: 327
|
Hi Ricky,
Thanks for the reply, i was trying the DisplayAlerts. It ends up that another part of the code was firing off in front of it. Regards, Jim |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|