+ Reply to Thread
Results 1 to 3 of 3

Odd behaviour from MsgBox

Hybrid View

  1. #1
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    This worked fine for me:
    If MsgBox("Do you really want to list all deal types here?" & Chr(13) & _
    "Warning: the list will overwrite any data in the cells below and CANNOT BE UNDONE!", vbQuestion + vbYesNo) _
    = vbNo Then Exit Sub
    Not all forums are the same - seek and you shall find

  2. #2
    Registered User
    Join Date
    07-08-2007
    Location
    Norfolk, England
    Posts
    4
    It works fine for me too.

    What is the error message?

    Maybe the code is in a Function and you've used exit Sub?
    Mitchell William Cooper

    www.mwcExcelSolutions.co.uk

+ 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