Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.37 KB

Access.EmptyCell.Width.md

File metadata and controls

40 lines (23 loc) · 1.37 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
EmptyCell.Width property (Access)
vbaac10.chm14309
vbaac10.chm14309
Access.EmptyCell.Width
ae5cf65a-4f32-7f34-0202-5f4919b033c7
02/27/2019
medium

EmptyCell.Width property (Access)

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

Syntax

expression.Width

expression A variable that represents an EmptyCell object.

Remarks

For report controls, you can set the Width 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.

You can't set this property for an object after the print process has started.

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

The width of forms and reports is measured from the inside of their borders. The width of controls is measured from the center of their borders so that controls with different border widths align correctly.

The margins for forms and reports are set in the Page Setup dialog box, available by choosing Page Setup on the File menu.

[!includeSupport and feedback]