+ Reply to Thread
Results 1 to 3 of 3

Message at beginning of Userform

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Message at beginning of Userform

    Hi All, Hope someone can help me?.....

    Is it possible to get a message to display on the userform initialisation, so that the user acknowledges the message before they can start using the userform?

    I can create a msgbox by adding a command button, but that defeats the object of the user acknowledging the messgae before they can do anything, and i cant guarantee they would click the command button before using the form.

    Any help would be very useful

    Dan

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Message at beginning of Userform

    Sub StartUserForm()
    Dim iresponse As Integer
        iresponse = MsgBox("Blah blah blah", vbYesNo, "Read and Acknowledge")
        If iresponse = vbNo Then Exit Sub
        Show UserForm1
    End Sub
    The above code in your userform open sub routine...
    Elegant Simplicity............. Not Always

  3. #3
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: Message at beginning of Userform

    Excellent thank you very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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