+ Reply to Thread
Results 1 to 5 of 5

MsgBox code countdown

  1. #1
    Forum Contributor
    Join Date
    04-03-2014
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    160

    MsgBox code countdown

    Hi guys,

    I have the following code that will be used by other users.
    I need to add a 'statement' to my code that enables those users to visualize the time remaining till the completion of the code in the form of a MsgBox.

    Is this technically possible!?

    Any suggestions are much appreciated.

    Thanks!

    Please Login or Register  to view this content.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: MsgBox code countdown

    Hi, vio.coman,

    if you understand the same as I do when you wrote MessageBox my answer should be no as any MsgBox will halt the execution of the code until clicked (modal). One way around is to use the StatusBar and display the number of the actual record as well as the total number of records or the percentage reached or to try to make use of an UserForm for this.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    04-03-2014
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    160

    Re: MsgBox code countdown

    Holger,

    thank you! The option with the percentage reached is good enough.
    How would I do that!?

    Cheers

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: MsgBox code countdown

    Hi, vio.coman,

    maybe like this:
    Please Login or Register  to view this content.
    Ciao,
    Holger

  5. #5
    Forum Contributor
    Join Date
    04-03-2014
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    160

    Re: MsgBox code countdown

    Holger,

    thank you! It works perfectly.

    regards

+ 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. [SOLVED] i want to add a YES or No MsgBox to my Code
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2014, 01:40 AM
  2. Workbook_Open code not firing unless MsgBox is in code
    By yay_excel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-09-2013, 03:11 PM
  3. Countdown a cell value after execution of code
    By beat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2013, 08:41 AM
  4. VBA pop up countdown timer - like a msgbox
    By WAW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2010, 06:19 AM
  5. Countdown timer Code not working
    By moses4u in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-02-2010, 12:42 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