Link to home
Start Free TrialLog in
Avatar of JadeCaridad
JadeCaridad

asked on

Dissecting a Field

Hi,

Can someone guide me as to what I am doing wrong.  Here is the scenario.  I have a combobox (in outlook) that is capturing data from 3 columns in excel.  They are separated with a Tab.  What I would like to do is upon selection of the name in the dropdown field the text is parsed out to their respective textboxes......

Example:  John Michael         39 yrs         1/18/08              

This is what I have:
TextBox3.text=Trim(Left(cboBro.Text,Instr(cboBro.Text, vbTab)))
TextBox53.text=Trim(Replace(cboBro.Text,textbox3.text,""))
TextBox54.text= ??????

Textbox 3 works fine however Textbox 53 gives me the age and date when all I want is the age and can't figure out how to get only the date on Textbox54.

Any help or guidance will be so great.

thank you.




ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JadeCaridad
JadeCaridad

ASKER

Graham.....
Dude you are awesome!!!!!
thank you !!!!!!