+ Reply to Thread
Results 1 to 4 of 4

Error handler while handling an error... How do we do that?

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    54

    Error handler while handling an error... How do we do that?

    Hi there,

    I've got a macro which is designed to activate or open a wb.
    The "Open" code is performed by an error handler.

    However, if an error occurs here how can I handle it?

    I've only recently started with error handling so please forgive my lack of knowledge
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Karlstad, Sweden
    MS-Off Ver
    Excel 2016
    Posts
    232

    Re: Error handler while handling an error... How do we do that?

    Maybe like this:

    Please Login or Register  to view this content.
    1. Reply to thread and inform if suggestion was helpful or not
    2. Click on the star (=Add Reputation) if you think someone helped you
    3. Mark [SOLVED] to this thread if solution was found. (On Menu "Thread Tools" > "Mark this thread as solved")

  3. #3
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    818

    Re: Error handler while handling an error... How do we do that?

    Or:

    Please Login or Register  to view this content.
    Regards,
    tt3

  4. #4
    Registered User
    Join Date
    10-16-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Error handler while handling an error... How do we do that?

    Thanks guys,

    I managed to solve it with this code:
    Please Login or Register  to view this content.

+ 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. [SOLVED] VBA Error Handler - how to skip error pop ups
    By kisa500 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-17-2013, 05:58 PM
  2. Error Handler for Run-time error '9'
    By josnah in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2006, 01:17 PM
  3. 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
  4. Replies: 1
    Last Post: 02-08-2006, 06:25 AM
  5. Error Handler and Error 1004
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2005, 10:06 AM

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