View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Firen Firen is offline
external usenet poster
 
Posts: 1
Default Extract Double from a Textfield Cell


Hi guys!

Could anyone tell me how to extract the coordinates from a plain dat
like this:

- Zorgia [NBK-R] (-89,113) Defending -

and save them into a double A(x,y) (e.g. A(-89,113)).


This is what i think should be the procedu
Find the brackets "(" and ")" and save everything in between into
string (?). Then in the string find "," and everything to the left =
and everything to the right = y.

Thanks in advance,
Fire

--
Fire
-----------------------------------------------------------------------
Firen's Profile: http://www.excelforum.com/member.php...fo&userid=2662
View this thread: http://www.excelforum.com/showthread.php?threadid=39900