WebBrowserControl.ProgressChange event (Access)

Occurs when the progress of a download operation is updated.

Syntax

expression.ProgressChange (Progress, ProgressMax)

expression A variable that represents a WebBrowserControl object.

Parameters

Name Required/Optional Data type Description
Progress Required Long Specifies the amount of total progress to show, or -1 when progress is complete.
ProgressMax Required Long Specifies the maximum progress value.

Return value

Nothing

Remarks

Use the information provided by this event to display the number of bytes downloaded or to update a progress indicator.

To calculate the percent of progress to show in a progress indicator, multiply the value of Progress by 100, and divide by the value of ProgressMax, unless Progress is -1, in which case the container indicates that the operation is finished or hides the progress indicator.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.