Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.11 KB

Access.CommandButton.Height.md

File metadata and controls

37 lines (21 loc) · 1.11 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
CommandButton.Height property (Access)
vbaac10.chm10470
vbaac10.chm10470
Access.CommandButton.Height
40b8e9fb-8573-7bb2-9467-12ca5b593a04
02/21/2019
medium

CommandButton.Height property (Access)

Gets or sets the height of the specified object in twips. Read/write Integer.

Syntax

expression.Height

expression A variable that represents a CommandButton object.

Remarks

For report controls, you can set the Height property when you print or preview a report only by using a macro or an event procedure specified in a section's OnFormat event property setting.

Microsoft Access automatically sets the Height property when you create or size a control or when you size a window in form Design view or report Design view.

The height of controls is measured from the center of their borders so that controls with different border widths align correctly.

[!includeSupport and feedback]