Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Turn off confirmation messages via VBA

In xl2000 and later, I believe

xlApp.DisplayAlerts = False
' delete the sheet
xlApp.DisplayAlerts = True

should work.

In earlier versions, I believe you had to put code in the workbook and
execute it to make the setting changes.

--
Regards,
Tom Ogilvy

"LB" wrote in message
...
I have an Access program that I built to manipulate an Excel workbook.

One
of the things I need to do is supress the confimation messages when I

delete
a worksheet via the code. I know I can supress these messages in Access,

but
I'm not sure how to accomplish that in Excel. Any suggestions?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I turn off text box for confirmation of paste command ? DaveVS Excel Discussion (Misc queries) 0 June 8th 06 04:35 PM
Confirmation ID provided? chevy New Users to Excel 2 April 15th 06 06:22 PM
Turn off confirmation messages via VBA Trevor Shuttleworth Excel Programming 0 April 13th 05 06:42 PM
Getting rid of confirmation boxes DandruffKid New Users to Excel 2 March 28th 05 11:05 AM
Confirmation of file phil Excel Programming 2 January 22nd 05 02:27 AM


All times are GMT +1. The time now is 02:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"