Hello
i have a userform which has a combo box called "GoldCB", a text box called "Tbbranch" and a text box called "tbpost". the below code populates the "tbbranch" with whatever is chosen in "Goldcb" and then the vlookup code looks up the tbbranch value in a named range"goldtarget" and gives me the post code and populates "tbpost".
thw code works fine however whenever i clear the userform i get the following error Run-time error '-2147352571 (80020005)':
Clould not set the Value Property. type mismatch. if i then debug it highlights vlookup code below in yellow.
help is greatly appreciated.
Matt
Bookmarks