Change the actual data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is there a way to change 555-444-8888 (dashes are actually entered in) into 5554448888?
 
MsgBox Replace("555-444-8888", "-", "")

(may not work in older versions of Excel)
 
I didn't notice the subject.

You may be looking for something more like:

ActiveCell.Formula = Replace(ActiveCell.Value, "-", "")
 
Hi Jee
try something like
with Range("A1")
.value = replace(.value,"-","")
end with
 
Select you range of cells

do
Edit=>Replace
what -
With leave blank.

--
Regards,
Tom Ogilvy

Jeff said:
is there a way to change 555-444-8888 (dashes are actually entered in)
into 5554448888?
 

Ask a Question

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.

Ask a Question

Back
Top