+ Reply to Thread
Results 1 to 3 of 3

My error logger procedure

  1. #1
    Forum Contributor
    Join Date
    04-13-2011
    Location
    Havant, Hants, England
    MS-Off Ver
    Excel 2010
    Posts
    116

    My error logger procedure

    Hi, I created an error logger after some help from a couple of forum members. Not sure if it could be better so put this up for any comment, thanks, Neil

    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,243

    Re: My error logger procedure

    You've defined wsd globally and within the ErrorLog procedure. Do you need both? You should restrict the scope of variables unless you need them to be global.

    Not much point using
    Please Login or Register  to view this content.
    and then
    Please Login or Register  to view this content.
    Maybe:

    Please Login or Register  to view this content.

    then you only have one reference to the name of the Error Log worksheet.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,243

    Re: My error logger procedure

    Thinking some more:

    Please Login or Register  to view this content.

    Regards, TMS

+ 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. Averaging Data Logger Output from Seconds to Minutes
    By Ben Mayo in forum Excel General
    Replies: 2
    Last Post: 11-14-2012, 02:34 PM
  2. Error Message (Compile Error, Procedure too Large)
    By dreicer_Jarr in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 10-29-2010, 03:52 AM
  3. Excel slow-query(formula) logger?
    By waylon in forum Excel General
    Replies: 1
    Last Post: 11-05-2009, 05:09 AM
  4. Work hour logger?
    By TCR in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-03-2006, 08:10 AM
  5. Form Err.Raise error not trapped by entry procedure error handler
    By jchauvin@panix.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2006, 06:25 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