+ Reply to Thread
Results 1 to 5 of 5

Message Box Prompt. Continue Or Cancel

  1. #1
    Registered User
    Join Date
    09-05-2011
    Location
    St. John's, Canada
    MS-Off Ver
    Excel 2010
    Posts
    70

    Message Box Prompt. Continue Or Cancel

    Hey Everyone,

    I'm using the find function in excel VB. I want to display a message box prompt if the text I'm searching isn't found. One that allows the user to continue running the code or cancel. But each time I try to implement a box I get errors. How could I go about doing this? Here is an example of my search function.


    Thanks for your help everyone

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Message Box Prompt. Continue Or Cancel

    What are you implementing that errors?

  3. #3
    Registered User
    Join Date
    09-05-2011
    Location
    St. John's, Canada
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Message Box Prompt. Continue Or Cancel

    There's kind of two issues, I don't know how to implement code that says " hey! the search didn't find anything would you like to continue anyway?" and also when I try to create a message box I use the below code and get the error " Invalid Procedure call or Arguement"

    Please Login or Register  to view this content.
    Thanks for your interest

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Message Box Prompt. Continue Or Cancel

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-05-2011
    Location
    St. John's, Canada
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Message Box Prompt. Continue Or Cancel

    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