Results 1 to 12 of 12

Auto close msg box

Threaded View

  1. #12
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Auto close msg box

    I think a small Userform is better as Hahobe and Rory already said.
    something like that....
    'somewhere where you want to see it
    UserForm1.show
    '
    Private Sub UserForm_Initialize()
    Me.StartUpPosition = 0
        Me.Top = 250
        Me.Left = 400
      Application.OnTime Now + TimeValue("00:00:02"), "closeUF1"
    End Sub
    'in a new module
    Sub closeUF1()
    Unload UserForm1
    End Sub
    Last edited by john55; 04-07-2014 at 02:58 AM.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A macro to auto open and auto close a file with time schedule
    By billj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2015, 06:01 AM
  2. Auto open another WB and auto save and close
    By alfgrey in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-11-2014, 12:08 PM
  3. Auto Open and Auto Close Macro
    By SaleenaKhan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-13-2013, 03:17 PM
  4. Can't edit macro with auto open and auto close.
    By lpete in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-03-2012, 07:25 PM
  5. [SOLVED] Auto Excel workbook close: save= false during an auto subroutine
    By tomwashere2 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-16-2005, 02:05 AM

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