+ Reply to Thread
Results 1 to 2 of 2

On Error exit & show msg in VBA

  1. #1
    Registered User
    Join Date
    11-29-2016
    Location
    India
    MS-Off Ver
    2010 2007
    Posts
    59

    On Error exit & show msg in VBA

    Hi there,

    I've done this following code to send mail. I'm not able to get the Error handling messages properly.

    If the mail sents properly without error the message should show as completed successfully or exit with message as data entry is not complete

    Please help me in this.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: On Error exit & show msg in VBA

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Error Numbers in Error/Exit handlers
    By ldoodle in forum Outlook Programming / VBA / Macros
    Replies: 6
    Last Post: 05-19-2018, 03:52 PM
  2. how to exit a sub if it generates an error
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-04-2015, 03:34 PM
  3. Replies: 3
    Last Post: 07-02-2015, 07:26 AM
  4. Exit For Loop on Error?
    By uberathlete in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2014, 01:49 PM
  5. VBA error during execution at Exit Sub
    By sportsguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2013, 01:32 PM
  6. Show why Save keeps popping up on Exit?
    By leaning in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2011, 04:53 PM
  7. on error exit sub
    By short_n_curly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2005, 02:01 PM

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