+ Reply to Thread
Results 1 to 3 of 3

Error Handling

  1. #1
    Registered User
    Join Date
    05-23-2013
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    8

    Error Handling

    I would like to add error handling to this code starting before the user emails the invoice. So if the user decides not to email an invoice the code will continue, else if the user emails the invoice but an error occurs, the code will display an error message and then continue to complete the code. Will someone help? I've gotten this far by recording the macro. Any help is appreciated.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Error Handling

    Error handling is something best learned rather than copying code someone else wrote... http://www.cpearson.com/excel/errorhandling.htm

    It's simple.

  3. #3
    Registered User
    Join Date
    05-23-2013
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Error Handling

    Thanks cytop. I'm appreciative of additional assistance.

+ 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 handling inside error handling
    By grantastley in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-06-2015, 03:43 AM
  2. RUN TIME ERROR '1004' error handling help needed
    By skop89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2014, 12:54 PM
  3. [SOLVED] Error Handling: Creating code to display error messages
    By Student1990 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-01-2013, 02:21 PM
  4. Error Handling: Can it report line # where error occurred?
    By PingPing in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2010, 03:47 AM
  5. On Error Goto (Global Error Handling)
    By mpeplow in forum Excel General
    Replies: 3
    Last Post: 04-10-2007, 11:33 PM
  6. Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM
  7. [SOLVED] Error handling with a handling routine
    By ben in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-15-2005, 11:06 AM

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