Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Applies to

BoundObjectFrame Object

Image Object

OptionButton Object

Section Object

CheckBox Object

Label Object

OptionGroup Object

SubForm Object

ComboBox Object

Line Object

Page Object

TabControl Collection

CommandButton Object

ListBox Object

PageBreak Object

TextBox Object

CustomControl Object

ObjectFrame Object

Rectangle Object

ToggleButton Object

You can use the EventProcPrefix property to get the prefix portion of an event procedure name. Read/write String.

expression.EventProcPrefix

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

For example, if you have a command button with an event procedure named Details_Click, the EventProcPrefix property returns the string "Details".

The EventProcPrefix property setting is a string expression.

This property is available only by using a macro or Visual Basic for Applications (VBA) code and is read-only in all views.

Microsoft Office Access 2007 adds the prefix portion of an event procedure name to the event name with an underscore character (_).

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×