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.
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.
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 usingand then![]()
Please Login or Register to view this content.
Maybe:![]()
Please Login or Register to view this content.
![]()
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
Thinking some more:
![]()
Please Login or Register to view this content.
Regards, TMS
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks