Is there any code to check if the user has run the macros. If so thenhow many times?

S

Sahana

I m looking for a code or a method which can determine if macros are
run. If so, then how many times???

Is there a way to do it?

If so please help me out
 
T

Tony Jollans

There is nothing of that sort built in. You would have to code it yourself
at the start of every routine, to retrieve the previous count, increment it,
and save the value somewhere that lasted as long as you wanted to count
over - a variable, perhaps, if you just want a count across an editing
session, or the registry or a file (or maybe a document variable) if you
wanted a count over a longer period.
 
Top