Form.AfterRender event (Access)

Occurs after the object represented by the chartObject argument has been rendered.

Syntax

expression.AfterRender (drawObject, chartObject)

expression A variable that represents a Form object.

Parameters

Name Required/Optional Data type Description
drawObject Required Object A ChChartDraw object. Use the methods and properties of this object to draw objects on the chart.
chartObject Required Object The object that has just been rendered. Use the TypeName function to determine what type of object has just been rendered.

Return value

Nothing

Example

The following example demonstrates the syntax for a subroutine that traps the AfterRender event.

Private Sub Form_AfterRender( _ 
 ByVal drawObject As Object, ByVal chartObject As Object) 
 MsgBox TypeName(chartObject) & " has been rendered." 
End Sub

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.