T
Tom Manuel
I'm trying to pass a ComboBox as a parameter.
Private Sub GetBox(ByRef cbox as ComboBox)
debug.print cbox.name
end sub
private Sub SendBox
call GetBox(cboMyComboBox)
debug.print cboMyComboBox.name
end sub
Access says the combo box is null in GetBox
The debug.print statement in SendBox works
How do you pass a combo box as a parameter?
Tom
Private Sub GetBox(ByRef cbox as ComboBox)
debug.print cbox.name
end sub
private Sub SendBox
call GetBox(cboMyComboBox)
debug.print cboMyComboBox.name
end sub
Access says the combo box is null in GetBox
The debug.print statement in SendBox works
How do you pass a combo box as a parameter?
Tom