Shapes.AddTextbox (PowerPoint)

Creates a text box. Returns a Shape object that represents the new text box.

AddTextbox (Orientation, Left, Top, Width, Height)


Dim shpAddTextbox As Shape
Set shpAddTextbox = ActiveWindow.Selection.SlideRange(1).Shapes.AddTextbox(Orientation:=msoTextOrientationMixed, Left:=, Top:=, Width:=, Height:=)

Arguments

The following arguments are required:

Orientation (Office.MsoTextOrientation) - The text orientation. Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you have selected or installed.

Left (Single) - The position, measured in points, of the left edge of the text box relative to the left edge of the slide.

Top (Single) - The position, measured in points, of the top edge of the text box relative to the top edge of the slide.

Width (Single) - The width of the text box, measured in points.

Height (Single) - The height of the text box, measured in points.