Hi Edwin Tam
Thanks for quickly reply, some question more please:
How can i apply that function to a range specified by user and I woul
like to trim some special characters at the begin position of th
string.
Ex: "1. System no1. This is new system" = "System no1. This is ne
system"
or
"II.( new name of system is Z)" ="new name of system is Z"
After I cut all space I would like to look up to database another valu
with input parameter is new string.
Ex :
This is example of my database which is created in Excel
Code Name Address
abc thanh nguyen London
xyz Jonh Paris
.... ....... ..............
When I use that function it automaticly display look-up value on othe
cell.
Ex: trimspace(" abc ") = "thanh nguyen"
or
trimspace("1. abc ") = "London
--
thanhnguye
-----------------------------------------------------------------------
thanhnguyen's Profile:
http://www.excelforum.com/member.php...fo&userid=3050
View this thread:
http://www.excelforum.com/showthread.php?threadid=50154