I am trying to use a tip I picked up recently that has the code "SendMessage(cboFacility.hwnd, ...)" in it. It is referencing a Combo box.
When I go to Debug -> Compile, I get an error message "Method or data member not found" and '.hwnd' is highlighted.
In the past, I have been able to get by this kind of problem in a compile by checking a box to add a particular Reference (under Tools in the VBA window).
Does anyone have an answer that will help me use this code?
Thank you.
When I go to Debug -> Compile, I get an error message "Method or data member not found" and '.hwnd' is highlighted.
In the past, I have been able to get by this kind of problem in a compile by checking a box to add a particular Reference (under Tools in the VBA window).
Does anyone have an answer that will help me use this code?
Thank you.