Application.QueryCancelReplaceShapes Event (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Occurs immediately after a shape-replacement operation is requested. If any event handler returns True, the operation is canceled.

expression .QueryCancelReplaceShapes(replaceShapes)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data type

Description

replaceShapes

Required

REPLACESHAPESEVENT

An object whose properties return information about the shape-replacement operation.

lpboolRet

Required

BOOL

Show: