Clearing drop down lists

O

Olive

I have drop down lists but the information last choosen remains there, could
someone help me with vba code to clear the drop downs.

Thanks in advance

Olive
 
M

matthewmark

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
*********************
 

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