I am creating Powerpoint slides dynamically. I have text boxes that I replace
with Labels. I have tested this and variations at least 100 times with no
solution.
After creating it, I name the label based on the variable "strname".
Sometimes the label names stay the same but usually don't. They
automatically rename with default names, "label1, label2" etc. Sometimes it
will be okay before saving. Once saved, close and reopen, the labels have
renamed themselves. Note: it appears that two labels of about 10, always stay
the same.
It appears to be a bug!!!
Can anyone help?
****************
Set shp =
App.ActiveWindow.Selection.SlideRange.Shapes.AddOLEObject(Left:=dblLeft,
Top:=dbltop, Width:=dblWidth, Height:=dblheight, ClassName:="Forms.Label.1",
Link:=msoFalse)
shp.Name = strname
*********************