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

Report Object

The PrintSection property specifies whether a section should be printed. Read/write Boolean.

expression.PrintSection

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

Remarks

The PrintSection property uses the following settings.

Setting

Description

True

(Default) The section is printed.

False

The section isn't printed.


Note: To set this property, specify a macro or event procedure for a section's OnFormat property.

Microsoft Office Access 2007 sets this property to True before each section's Format event.

Example

The following example does not print the section "PageHeaderSection" of the "Product Summary" report.

Private Sub PageHeaderSection_Format _
(Cancel As Integer, FormatCount As Integer)
Reports("Product Summary").PrintSection = False
End Sub

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!

×