Difference between AddLabel and AddTextbox

E

Edward

Hi everybody,
What is the difference between AddLabel and AddTextbox ? It seems both
prduce the same results. Are there any pros and cons for choosing any of them?
IF we have both methods there must be a reason for it but I can't fingure
out in any given case which method is better.
Any thoughts?
 
R

Robert

Thanks Steve. What do you mean by run time? Do you mean during slide show?
I have added both text box using AddTextbox and label using AddLabel and in
normal view user can edit both and they look identical and share the same
formatting properties.
 
E

Edward

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top