View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Stripping The First Four Characters from a value

THANK YOU SOOO VERY MUCH!!! That was the perfect solution that I was looking
for!

Thanks Again,
Cheers!
Rob

"Gary''s Student" wrote:

similar to the technique used in the worksheet:

edition = Right(edition, Len(edition) - 4)
--
Gary''s Student
gsnu200702


"Rob" wrote:

Hi,
What I am trying to figure out is how I can remove the first four characters
via a VBA Macro from a value of a cell.

Here's the example...

Edition = ActiveCell.FormulaR1C1 (this returns a value of "Rev XA" or "Rev
-" or "Rev 2")

What I want the macro to do is strip the "Rev " and just keep everything
from the fifth character on so I get (XA or - or 2)

Any Ideas??

Thanks In Advance,
Rob