Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.42 KB

Project.Application.EditPasteSpecial.md

File metadata and controls

59 lines (36 loc) · 1.42 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.EditPasteSpecial method (Project)
vbapj.chm232
vbapj.chm232
project-server
Project.Application.EditPasteSpecial
afbe96f1-a4f6-e879-cacc-115761f5e1c4
06/08/2017
medium

Application.EditPasteSpecial method (Project)

Copies or links data from the Clipboard into the active selection.

Syntax

expression. EditPasteSpecial( _Link_, _Type_, _DisplayAsIcon_ )

expression A variable that represents an Application object.

Parameters

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.

Return value

Boolean

Example

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]