A
augustus
Hi,
in excel, i can pass object as parameter by simply:
Dim objCbx As ComboBox
Set objCbx = Sheet3.cbxMainData
Call Module1.Test(objCbx)
but in word, I can't
Dim objCbx As ComboBox
Set objCbx = ThisDocument.cbxMainData
Call Module1.Test(objCbx)
the objCbx under word will be empty.
Please tell me how to pass object in word.
Thanks.
in excel, i can pass object as parameter by simply:
Dim objCbx As ComboBox
Set objCbx = Sheet3.cbxMainData
Call Module1.Test(objCbx)
but in word, I can't
Dim objCbx As ComboBox
Set objCbx = ThisDocument.cbxMainData
Call Module1.Test(objCbx)
the objCbx under word will be empty.
Please tell me how to pass object in word.
Thanks.