Skip to content

Files

Latest commit

author
Docs Allowlist Management
Mar 22, 2024
76d3237 · Mar 22, 2024

History

History
37 lines (23 loc) · 850 Bytes

Excel.Shape.TextFrame.md

File metadata and controls

37 lines (23 loc) · 850 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Shape.TextFrame property (Excel)
vbaxl10.chm636090
vbaxl10.chm636090
Excel.Shape.TextFrame
cc2fbe92-e0c4-f0d5-52a3-a675d4baf573
05/14/2019
medium

Shape.TextFrame property (Excel)

Returns a TextFrame object that contains the alignment and anchoring properties for the specified shape. Read-only.

Syntax

expression.TextFrame

expression A variable that represents a Shape object.

Example

This example causes text in the text frame in shape one to be justified. If shape one doesn't have a text frame, this example fails.

Worksheets(1).Shapes(1).TextFrame _ 
 .HorizontalAlignment = xlHAlignJustify

[!includeSupport and feedback]