Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Looking for sample code that would allow me to kill any modal dialog present in Excel

Hi there,

Looking for sample code that would allow me to kill any modal dialog present
in Excel while executing my macro (my macro refreshes some PivotTables every
X seconds using the Timer object). Assuming PivotTable refresh failed at
some point a modal dialog is present hence Refresh can not occur again and
eventually Excel shuts down.

What I want is sample code to first check if there is any modal dialog
present and then do whatever code I need to do.

Thanks
Michael





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
Excel Dialog being "Non-Modal"? [email protected] Excel Programming 0 November 24th 06 10:45 PM
do anybody have a sample code for executing excel macro from vb code?<eom B Deepak Excel Programming 2 September 30th 05 09:59 AM
Can't run macros and security dialog not present in xl2000 Phil B Setting up and Configuration of Excel 2 September 2nd 05 04:37 PM
Accessing selected cell from modal dialog Jim McLeod Excel Programming 2 April 22nd 04 03:47 PM
VC7.1++ Excel add-in sample code? Visual Studio 2003 Lars Schouw Excel Programming 0 February 23rd 04 11:10 AM


All times are GMT +1. The time now is 12:33 AM.

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

About Us

"It's about Microsoft Excel"