View Single Post
 
Old 08-10-2016, 09:56 AM
Nick70 Nick70 is offline Windows 10 Office 2010 64bit
Novice
 
Join Date: Jun 2016
Location: London
Posts: 13
Nick70 is on a distinguished road
Default

In fact I managed to amend code accordingly

HTML Code:
Sub Textboxnew()
    Dim myTextBox As Shape
    With ActivePresentation.Slides(1)
        Set myTextBox = .Shapes.AddTextbox _
            (Orientation:=msoTextOrientationHorizontal, Left:=450, Top:=20, _
            Width:=100, Height:=100)
        myTextBox.TextFrame.TextRange.Text = "NEW"
        myTextBox.TextFrame.TextRange.Font.Color.RGB = vbRed
        myTextBox.TextFrame.TextRange.Font.Size = 20
    End With
End Sub
Reply With Quote