Hi,
I am trying to make my code more clean and want to output various variables at different locations inside the code. Instead of using Msgbox I decided that using richtextbox would be more useful and doesn't require user to press enter as in Msgbox. So, at each location in the code, when output the variable to the rich text box, I want that particular output should be in the following line with the date time stamp. This way it would allow me to understand how much time was taken to execute each portion of the code.
I am using richtextbox and the code format I am using is as follows:
At the next location I used :Code:RBox1.Text = "file1 has been read successfullY"
Is this the correct approach ? I would appreciate if somebody could explain other useful options as well.Code:RBox1.Text = RBox1.Text & vbNewLine & "Now writing the model output"




Reply With Quote
