Hi I was wondering if there was a quick way I could add "JR" at the end of cells I have selected in Excel. Currently the cells contain names without JR for example: John Smith but I want it to add JR at the end so it would be : John Smith JR?
You don't need VBA.
[tt]
assuming the data is in column A, beginning in row 2...
1. B2: =A2&" JR"
2. Copy B2 down thru the rows of data
3. Copy the column B range containing data
4. select A2
5. Edit > Paste Special - VALUES
[/tt]
THAT's the quickest way!
But here's a VBA solution, for the "cells I have selected in Excel."
Code:
sub AppendJR()
dim r as range
for each r in selection
with r
.value = .value & " JR"
end with
next
end sub
Skip, Just traded in my old subtlety... for a NUANCE!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.