Write log file

J

Josh

Is it possable to write some log information while running code in my excel
project? I would like to write some basic information incase I have a
problem or sut to write how many times a function is called?

TIA

Josh
 
R

Rowan Drummond

Hi Josh

If you are just wanting to keep track of how many times a function is
called it would probably be easier to print to the immediate window
(Ctrl G to view it in the VBE) than to create a log file.

Insert the appropriate line in your function:
Debug.Print "Myfunction ran" 'or whatever


Hope this helps
Rowan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top