Hi everbody
Im trying to create a textbox using the addtextbox method. my book ("Mastering vba micr. off. 2010") is suggesting the following:
Dim myTextBox As Shape
With ActivePresentation.Slides(1)
Set myText = .Shapes.AddTextbox(Orientation:=msoTextOrientationHorizontal, Left:=708, Top:=554, Width:=42, Height:=24)
myTextBox.TextFrame.TextRange.Text = "BLABLA"
End With
This doesn't work. But when I use the method without setting an object it works.
Do you have any ideas why?
note that im using office 2007.
Thanks for your time and help!
-Jon
Bookmarks