Thread
:
From Column A get Text from Colum B
View Single Post
#
5
Posted to microsoft.public.excel.programming
Rick Rothstein \(MVP - VB\)
external usenet poster
Posts: 2,202
From Column A get Text from Colum B
a macro
mr=range("i22")
mr.value=LEFT(mr,FIND("-",mr)-2)
I believe it should be more like this...
Set mr = Range("B1")
mr.Offset(0, -1).Value = Left(mr.Value, InStr(mr.Value, "-") - 2)
Rick
Reply With Quote
Rick Rothstein \(MVP - VB\)
View Public Profile
Find all posts by Rick Rothstein \(MVP - VB\)