PDA

View Full Version : Count Passes Thru Sub Routine



gimli
05-25-2011, 11:26 AM
Hi All,

Im trying to figure out how many times a sub routine gets run....Is there something built in vba that can count how many times a subroutine is called?

Or maybe set up a counter within a sub and have the value placed in a cell ?


Any ideas would be great..thanks

Kenneth Hobs
05-25-2011, 11:59 AM
You can put a count value in a cell or use a Public variable if it is for that session.