Hallo.
Wie kann ich eine From in einer Variablen speichern und z.B. als Parameter zu übergeben. Ein Beispiel:
Das funktioniert
Dim index as Integer
index = FormSettings.ColumnsListBox.Index
Das funktioniert nicht
Dim liste As Control
liste = FormSettings.ColumnsListBox.List
Ich möchte den Code von
MsgBox FormSettings.ColumnsListBox.List(FormSettings.ColumnsListBox.Index, 0)
zu
MsgBox liste(index, 0)
verkürzen
Vielen Dank
|