View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ivan Raiminius Ivan Raiminius is offline
external usenet poster
 
Posts: 258
Default how to get specific strings out of a cell ?

Hi,

range("c15").value=val(right(range("c37").value,4) )
range("c14").value=val(mid(range("c37").value,13,4 )

instead of the code you posted.

Regards,
Ivan