ContactCard.Show method (Office)

Displays the contact card at the specified x-coordinate position outside the specified rectangle.

Syntax

expression.Show (Style, Left, Right, Top, Bottom, xcord, fDelay)

expression An expression that returns a ContactCard object.

Parameters

Name Required/Optional Data type Description
Style Required MsoContactCardStyle Determines whether the card is displayed as a hover card or as a fully expanded card. See Remarks for possible values.
Left Required Long Specifies the x-coordinate of the left side of the rectangle where the card is not displayed.
Right Required Long Specifies the x-coordinate of the right side of the rectangle where the card is not displayed.
Top Required Long Specifies the y-coordinate of the top side of the rectangle where the card is not displayed.
Bottom Required Long Specifies the y-coordinate of the bottom side of the rectangle where the card is not displayed.
xcord Required Long Specifies the x-coordinate position of the left edge of the card.
fDelay Required Boolean Determines if there is a delay before the card is displayed.

Return value

Nothing

Remarks

Style must be one of the following MsoContactCardType values.

Constant Value Description
msoContactCardTypeEnterpriseContact 0 Represents a contact card for an enterprise contact address.
msoContactCardTypePersonalContact 1 Represents a contact card for a personal contact address.
msoContactCardTypeUnknownContact 2 Represents a contact card for an unknown contact address.
msoContactCardTypeEnterpriseGroup 3 Represents a contact card for an enterprise distribution list contact address.
msoContactCardTypePersonalDistributionList 4 Represents a contact card for a personal distribution list contact address.

fDelay applies only if Style is msoContactCardStyleHover. For all other card styles, fDelay is ignored.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.