Hi
try something like the following macro (works on your
selection):
sub foo()
dim rng as range
dim cell as range
dim str_part
set rng=selection
str_part="precede_"
for each cell in rng
if cell.value<>"" then
cell.value=str_part & cell.value
end if
next
end sub
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.