From Immediate window to Text file - create a log file

D

Dan

Hi,
I have an application that different functions are publishing thing on the
Immediate window.
I would like to have all the output of the Immediate window saved on a text
file - so creating some king of log file - is it doable?

Many thanks.
Raphael
 
T

Tim Williams

If you have access to the code then just create a sub to wrap your
"debug.print" calls. It could also (depending on something like a global
flag) output to a text file.

Google for creating a text file from Excel VBA.

Tim
 

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