ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   From Immediate window to Text file - create a log file (https://www.excelbanter.com/excel-programming/409478-immediate-window-text-file-create-log-file.html)

dan

From Immediate window to Text file - create a log file
 
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

Tim Williams

From Immediate window to Text file - create a log file
 
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

"Dan" wrote in message
...
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





All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com