Re: Difference between AddLabel and AddTextbox by Steve
Steve
Sun Aug 17 10:31:40 CDT 2008
Interesting.
This is sort of a bug in PowerPoint, it seems.
Both .AddLabel and .AddTextbox add a textbox object. That's why the properties
are the same. Neither adds a control object, by the way.
And if you need the user to edit the text during a slide show, neither will
work.
In article <4C96E0A8-950D-4CB7-B543-841113B48C7C@microsoft.com>, Edward wrote:
> Soory I had to tell that I use those methods for adding textbox and label on
> a slide not a userform .
> here is the code:
>
> ActivePresentation.Slides(2).Shapes.AddLabel msoTextOrientationHorizontal,
> 10, 10, 50, 50
> ActivePresentation.Slides(2).Shapes.AddTextbox
> msoTextOrientationHorizontal, 100, 10, 50, 50
> the results for both are identical and even wehn we use addlabel method and
> right click on the resulting shape it says textbox properties and has exactly
> the same properties.
> Thanks :)
>
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Live and in personable in the Help Center at PowerPoint Live
Sept 21-24, San Diego CA, USA
www.pptlive.com