populating listbox on a slide

J

JEG

I'm having trouble getting my listbox to populate. I added the values with
AddItem but it doesn't populate on the slide. The only way it populates
is if I go into the code, press F5 and then go back to my slide. But then
when I close my presentation and reopen it, it is not populated. How can I
make this populate when the slide appears?

Private Sub ListBox1_Initialize()
With ListBox1
AddItem "Red Documents"
AddItem "Blue Documents"
AddItem "Yellow Documents"
AddItem "Green Documents"
AddItem "Orange Documents"
End With
End Sub
 

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