CommandButton.LayoutID Property (Access)
Returns the unique identifier for the layout that contains the specified button. Read-only Long.
Version Information
Version Added: Access 2007
Syntax
expression .LayoutID
expression A variable that represents a CommandButton object.
Remarks
The LayoutID property returns 0 (zero) if the specified control is not part of a layout.