I have some VBA code that opens a Word document (using Word.Application object), replaces some bookmarks, and then saves it as a RTF file. This process takes 5-15 seconds after the corresponding button is clicked.
How do I make some kind of animation appear after the button is clicked to show that the system hasn't frozen? It doesn't have to be a progress bar, especially since the work isn't a countable loop but a set number of bookmark inserts and I don't know how much of the time is spent on opening and closing the file/object vs inserting bookmarks. It could just be an animating mouse cursor, or some text in the status bar at the bottom of the Access window with the words "Working..." and the periods after "Working" cycling from 1 to 3.
What options do I have? Is it possible to create a process thread for an animation that starts when the Word object is opened and ends when it quits and is set to Nothing?
How do I make some kind of animation appear after the button is clicked to show that the system hasn't frozen? It doesn't have to be a progress bar, especially since the work isn't a countable loop but a set number of bookmark inserts and I don't know how much of the time is spent on opening and closing the file/object vs inserting bookmarks. It could just be an animating mouse cursor, or some text in the status bar at the bottom of the Access window with the words "Working..." and the periods after "Working" cycling from 1 to 3.
What options do I have? Is it possible to create a process thread for an animation that starts when the Word object is opened and ends when it quits and is set to Nothing?
Last edited: