Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Log Error Message
#1
I am creating a program to Automate the install and configure process for some other software. If my macro encounters an error, I have it open notepad and log an error message then end the macro. If it is successful, I have it again open notepad and log a successful message. Doing this every few lines takes up ALOT of space in the code. My question is: Is there a way to create a Failed Log and a Successful Log only once? Then wherever I want to add one, just add something to point at the correct Log? Or is there a better way of doing this?

Thanks
#2
Create two functions for this.

http://www.quickmacros.com/help/QM_Help ... NTIPS.html


Forum Jump:


Users browsing this thread: 1 Guest(s)