Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
53 lines (30 loc) · 1.05 KB

document-scratcharea-property-publisher.md

File metadata and controls

53 lines (30 loc) · 1.05 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
Document.ScratchArea Property (Publisher)
vbapb10.chm196657
vbapb10.chm196657
publisher
Publisher.Document.ScratchArea
782d9b7f-b620-60f0-c21d-04f588c37cc6
06/08/2017

Document.ScratchArea Property (Publisher)

Returns a ScratchArea object for an a given document.

Syntax

expression. ScratchArea

_expression_A variable that represents a Document object.

Return Value

ScratchArea

Remarks

The ScratchArea object is a collection of objects on the scratch page. The ScratchArea object is not in the Pages collection because it is fundamentally not a page; its only similarity to a page is that it can contain objects.

Example

This example sets the variable object as the first shape on the scratch area of the active document.

Sub ScratchPad() 
 
 Dim saPage As ScratchArea 
 Dim objFirst As Object 
 
 saPage = Application.ActiveDocument.ScratchArea 
 objFirst = saPage.Shapes(1) 
 
End Sub