Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We have a text object which displays status of an Excel output when a button is pressed. A macro generates the text in the text object.
The issue is that the text object shows the correct status when the button is pressed when QVW is opened for the first time.
But when the button is pressed the next few times, it shows the status from the first time the button is pressed.
Text object properties shows correct status each time but text object display in GUI does not.
It is a hidden object so only displays status when button is pressed and hides when processing is complete.
Please help!
Without seeing your code, I can only guess:
Try adding this line in your code after you set the text object properties.
ActiveDocument.GetApplication.Refresh