title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.EditPasteSpecial method (Project) |
vbapj.chm232 |
|
project-server |
|
afbe96f1-a4f6-e879-cacc-115761f5e1c4 |
06/08/2017 |
medium |
Copies or links data from the Clipboard into the active selection.
expression. EditPasteSpecial
( _Link_
, _Type_
, _DisplayAsIcon_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Link | Optional | Boolean | True if the data is linked to its source application. |
Type | Optional | Integer | A numeric value specifying the type of object to paste or link. The Type argument can be one of the PjPasteSpecialType constants. |
DisplayAsIcon | Optional | Boolean | True if the object appears as an icon. |
Boolean
The following example pastes the Clipboard content as a picture.
Sub Edit_PasteSpecial()
'Activate Gantt Chart view
ViewApply Name:="&Gantt Chart"
SelectRow Row:=2, RowRelative:=False
EditPasteSpecial Link:=False, Type:=pjPicture, DisplayAsIcon:=False
End Sub
[!includeSupport and feedback]