PDA

View Full Version : Powerpoint e visual basic


Qwertid
14-06-2004, 12:39
Salve a tutti! :)

Ho terminato la mia tesina fatta in powerpoint e volevo a questo punto cercare di renderla pių sofisticata per esempio aggiungendo dei menų a tendina che sono contenuti all'interno della barra degli strumenti visual basic. Non essendo per nulla esperto del linguaggio di programmazione in questione cosa bisogna fare per aggiungere all'interno dei menų le voci che voglio e collegarla alla relativa slide? Grazie! :D

Qwertid
14-06-2004, 22:01
Up ragazzi!

Ho trovato su internet questo codice

Sub AddItemsToSelectedListBox()


Dim oShape As Shape
Set oShape = ActiveWindow.Selection.ShapeRange(1)


With oShape.OLEFormat.Object
' Add items to the list
.AddItem ("This")
.AddItem ("That")
.AddItem ("The Other")
' You could work with other properties of the list or combo box here as well
End With


End Sub


Mi fa inserire le parole nella combobox ma come faccio poi a collegare "this" o "that" o "the other" alla slide che voglio? E'importante devo consegnare la tesina mercoledė! :D :cry:

Qwertid
16-06-2004, 14:45
ari up!