+ Reply to Thread
Results 1 to 3 of 3

Puzzling autoclose msgbox macro behaviour

  1. #1
    Valued Forum Contributor
    Join Date
    01-19-2010
    Location
    Melbourne Australia
    MS-Off Ver
    latest is Excel 2016. have older versions
    Posts
    624

    Puzzling autoclose msgbox macro behaviour

    Hi all,

    I have incorporated a block of code from MVP Tom Urtis (see below) into one of my macros as a means of keeping the user informed on what is happening

    Please Login or Register  to view this content.
    So far so good

    My issue is that if I open the workbook and execute my import macro that calls this code then it work a treat.

    If however I then (not having closed and restarted excel) add in some new data to import and run the import macro the timer does not automatically close the dialog box and I need to manually click the OK button.

    for the life of me I cannot understand what is happening here??

    Any clues gratefully received

    Jmac
    Last edited by jmac1947; 04-29-2014 at 10:20 PM. Reason: Changed thread title as requested

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Puzzling behaviour that I need advice on please

    I could not reproduce the problem you describe.

    I was able to run code multiple times without issue. Can you post example workbook?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Puzzling autoclose msgbox macro behaviour

    In my experience the Popup method is unreliable. I'd suggest you use a userform instead.
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Puzzling grey rectangle
    By norgro in forum Excel General
    Replies: 10
    Last Post: 12-22-2012, 02:51 AM
  2. Simple Operation Turned Puzzling
    By cheiss8078 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-05-2007, 02:19 PM
  3. Sum help this is puzzling???????????
    By scott in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-01-2006, 02:55 PM
  4. [SOLVED] Puzzling Format Questions
    By Kevin H. Stecyk in forum Excel General
    Replies: 3
    Last Post: 05-17-2005, 07:06 AM
  5. [SOLVED] Puzzling Memory Error !
    By Donna in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-05-2005, 11:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1