Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.04 KB

Excel.Shape.AlternativeText.md

File metadata and controls

42 lines (24 loc) · 1.04 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Shape.AlternativeText property (Excel)
vbaxl10.chm636132
vbaxl10.chm636132
Excel.Shape.AlternativeText
40b53b31-c4e2-0fd8-1a37-fa1e88ccd2be
05/14/2019
medium

Shape.AlternativeText property (Excel)

Returns or sets the descriptive (alternative) text string for a Shape object when the object is saved to a webpage. Read/write String.

Syntax

expression.AlternativeText

expression A variable that represents a Shape object.

Remarks

The alternative text can be displayed either in place of the shape's image in the web browser, or directly over the image when the mouse pointer hovers over the image (in browsers that support these features).

Example

This example sets the alternative text for the first shape on the first worksheet to a description of the shape.

Worksheets(1).Shapes(1).AlternativeText = "Concentric circles"

[!includeSupport and feedback]