View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.programming
RB Smissaert RB Smissaert is offline
external usenet poster
 
Posts: 2,452
Default keep track of last code line before error

Is there a way in MZ Tools to add line numbers for one procedure and
set the starting number other than the default 1 to 10.
The idea is to have the numbering unique throughout the project.
This can be done if I do the whole project, but I don't want that and I even
can't do
that (out of memory).

RBS

"RB Smissaert" wrote in message
...
Is it possible somehow to keep track of the last line of code that was run
before a handled error occured without
adding line numbers or without adding a public variable that gets
incremented before every line?
I was thinking of perhaps a class handling VBE events, but I think I will
need the public variable.
I am not keen to add line numbers.

RBS