excel - invisible Chinese text from an argument returning a range with relevant data on the sheet -
i have couple of textboxes/comboboxes on userform , have search field these when use search field data output data on textboxes/comboboxes chinese characters return invisible until highlight them. way of making them visible selection of search field?
code search field:
private sub combobox1_click() dim rfound range on error resume next sheets("io-db") set rfound = .columns(1).find(what:=combobox1.value, after:=.cells(1, 1), lookin:=xlvalues, lookat:= _ xlpart, searchorder:=xlbyrows, searchdirection:=xlnext, matchcase:=false _ , searchformat:=false) on error goto 0 if rfound nothing exit sub application.goto rfound, true textbox1.text = rfound.offset(0, 0) textbox9.text = rfound.offset(0, 1) combobox7.text = rfound.offset(0, 3) combobox8.text = rfound.offset(0, 2) combobox5.text = rfound.offset(0, 4) textbox4.text = rfound.offset(0, 5) textbox5.text = rfound.offset(0, 6) combobox3.text = rfound.offset(0, 7) combobox4.text = rfound.offset(0, 8) combobox6.text = rfound.offset(0, 10) textbox7.text = rfound.offset(0, 9) end end sub
Comments
Post a Comment