+ Reply to Thread
Results 1 to 5 of 5

AskAndDo timer

  1. #1
    Registered User
    Join Date
    04-30-2007
    Posts
    37

    AskAndDo timer

    I have a piece of code that I need to add a 5 second timer to. If the timer expires, the YesNo question should default to YES. Any Ideas?


    Here's the code as it stands...

    Please Login or Register  to view this content.
    Last edited by obrien2003; 10-02-2007 at 01:04 PM. Reason: Code wrap

  2. #2
    Registered User
    Join Date
    04-30-2007
    Posts
    37

    Code wrapped

    Thanks. Missed that rule

    btw,
    Your sig?
    Credo Elvem ipsum etian vivere
    should read
    Credo Elvem ipsum etiam vivere

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    You would need to use a modeless form in lieu of the modal MsgBox. After showing the form, do
    Please Login or Register  to view this content.
    . If the No button is clicked, cancel the OnTime event.
    Last edited by shg; 10-02-2007 at 01:22 PM.

  4. #4
    Registered User
    Join Date
    04-30-2007
    Posts
    37

    Modeless form

    Can you give me an example of the modeless form?

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Here's an example

    ModelessForm.zip

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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