Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 1.22 KB

Access.OptionButton.AfterUpdate-property.md

File metadata and controls

50 lines (27 loc) · 1.22 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OptionButton.AfterUpdate property (Access)
vbaac10.chm10609
vbaac10.chm10609
Access.OptionButton.AfterUpdate
02ca295b-ff5c-2f6d-12f0-ea0bc176947a
02/12/2019
medium

OptionButton.AfterUpdate property (Access)

Returns or sets which macro, event procedure, or user-defined function runs when the AfterUpdate event occurs. Read/write String.

Syntax

expression.AfterUpdate

expression A variable that represents an OptionButton object.

Remarks

Valid values for this property are:

  • macroname, where macroname is the name of a macro.

  • [Event Procedure], which indicates the event procedure associated with the AfterUpdate event for the specified object.

  • =functionname(), where functionname is the name of a user-defined function.

Example

The following example specifies that when the AfterUpdate event occurs on the first form of the current project, the associated event procedure should run.

Forms(0).AfterUpdate = "[Event Procedure]" 

[!includeSupport and feedback]