Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Auto Response to Dialog Box

Jim

Application.DisplayAlerts=False

and true at the end

This will take all the defaults in dialogs

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Jim" wrote in message
...
I've created a macro that deletes several tabs from a workbook. When the
macro is run, a dialog box displays - "Data may exist in the sheet(s)
selected for deletion. To permanently delete the data, press Delete."

Is there any coding I can add to the macro that will auto-select 'Delete'
without prompting the user?

Thanks for all your help!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Auto Response to Dialog Box

Jim

Pleasure

--
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Jim" wrote in message
...
Nick -

OUTSTANDING! Worked like a charm. Thanks so much!

Jim
--
Thanks for all you do!


"Nick Hodge" wrote:

Jim

Application.DisplayAlerts=False

and true at the end

This will take all the defaults in dialogs

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Jim" wrote in message
...
I've created a macro that deletes several tabs from a workbook. When
the
macro is run, a dialog box displays - "Data may exist in the sheet(s)
selected for deletion. To permanently delete the data, press Delete."

Is there any coding I can add to the macro that will auto-select
'Delete'
without prompting the user?

Thanks for all your help!



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
Auto response of one column to another Colin Hayes Excel Worksheet Functions 3 April 26th 07 09:20 PM
Response to Frank: AM-PM Auto formatting BulaMan Excel Discussion (Misc queries) 2 December 15th 04 10:26 AM
How to auto response the dialog myBasic[_2_] Excel Programming 4 December 1st 04 03:21 AM
inputbox Auto response Joe Excel Programming 3 August 15th 04 01:26 AM
Macro to Force Response in Dialog Box JenReyn Excel Programming 1 January 10th 04 01:12 AM


All times are GMT +1. The time now is 08:38 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"