Hi,
Hopefully this should be an easy one - I just can't get it to work. In excel 2003 I'm trying to get a multiple search/find to return an offset text string to a text box (it will actually be multiple strings into multiple textboxes, but for the purpose of this question basing it on one should suffice).
The description of the search is along these lines: look for listbox1.value in dynamic range "Customers" - column A - , and look for combox1.value in dynamic sheet range "Contacts" - column G - and return cell entry in column H (has phone number) to textbox1.
I would put this code into the combobox1 change event so that when the contact name changes, a different phone number would appear.
My thoughts at the moment are that maybe the easiest way would be to get the cell address from combobox1, and just return the offset (0,1) value to the textbox? I'm just not sure how to do this.
Hopefully this should be an easy one - I just can't get it to work. In excel 2003 I'm trying to get a multiple search/find to return an offset text string to a text box (it will actually be multiple strings into multiple textboxes, but for the purpose of this question basing it on one should suffice).
The description of the search is along these lines: look for listbox1.value in dynamic range "Customers" - column A - , and look for combox1.value in dynamic sheet range "Contacts" - column G - and return cell entry in column H (has phone number) to textbox1.
I would put this code into the combobox1 change event so that when the contact name changes, a different phone number would appear.
My thoughts at the moment are that maybe the easiest way would be to get the cell address from combobox1, and just return the offset (0,1) value to the textbox? I'm just not sure how to do this.