View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Andrew Slentz[_2_] Andrew Slentz[_2_] is offline
external usenet poster
 
Posts: 7
Default Substring to replace string

Hi,

I am trying to figure out an easy way to create an excel macro that will
take a substring and replace the string with that substring. Ex:
47130-5240 (original) take the first 5 characters and replace the
original value with only those first 5 characters. So the result would
be 47130 in that cell.

Any ideas???

Thanks,

Andrew

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!