Results 1 to 2 of 2
  1. #1
    rovman is offline Advanced Beginner
    Windows XP Access 2002
    Join Date
    Sep 2011
    Posts
    36

    Question Caution MsgBox


    Good evening I have another task I want to do. I have made a Macro that is a Caution MSGbox. What it does, once you press a button I want it to popup and you must click OK to continue or close it out and cease the operation.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    What is your question? You have the macro and it works or doesn't work? I don't use macros, only VBA.

    MsgBox can be used two ways.

    1. Popup message, okay only, no optional responses by user. Syntax is:
    MsgBox "This is my message.", "title"

    2. Popup message, with optional responses. This is a function, must set a variable. Syntax is:
    X = MsgBox("Select button.", select vb constants for button choices, "title")

    VBA Help has more info on using MsgBox and InputBox.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. MsgBox after exporting
    By sk88 in forum Access
    Replies: 2
    Last Post: 08-26-2011, 06:50 AM
  2. Help with vbYesNo msgbox
    By focosi in forum Access
    Replies: 10
    Last Post: 08-13-2011, 01:48 PM
  3. MsgBox
    By Mtyetti in forum Forms
    Replies: 4
    Last Post: 07-27-2011, 01:51 PM
  4. Msgbox with data in
    By AndycompanyZ in forum Programming
    Replies: 9
    Last Post: 06-27-2011, 07:52 AM
  5. MsgBox Placement
    By tpcervelo in forum Programming
    Replies: 2
    Last Post: 12-27-2010, 07:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums