Hi, I have 3 objects, listbox, combobox and listview, and 1 function.
Calling arguement:
GenerateInvalidResult(lstReport, cmbFolder, lstView)
Function:
GenerateInvalidResult(oList As ListBox, oCombo As ComboBox, oListView As ListBox)
The error is, "type mismatch", it appear that lstReport and cmbFolder are string, inctead of object.
Any idea how to pass them as object?




Reply With Quote