If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I have some code that uses instr & len to extract a code from a cells value then :
Selection.Value = _
CStr(Right(Selection.Value, L - spc ))
Selection.Offset(1, 0).Select
this should leave the cell with 0999 but instead it ends up 999