Display macro status?

Bidwin

New Member
Joined
Apr 21, 2002
Messages
49
I'm an infrequent macro user working with VB6. Is there any way to display processing status of a Word macro without requiring a user's response? I've tried MsgBox and Print (to immediate window), but MsgBox required a button click and the msg disappeared after the click. Print did work when testing using F8 step through, but it didn't display anything once the macro started running.

My macro writes files, and I'd like to display the number of files written at increments of 1,000 and the elapsed time for writing each increment of files.

Thanks,
bidwin
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
You can easily display a progress report on the status bar:
Application.StatusBar = "My Message"
 
Upvote 0

Forum statistics

Threads
1,225,619
Messages
6,186,050
Members
453,335
Latest member
sfd039

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top