similar function for SUBSTITUTE in excel?

  • Thread starter Thread starter Guest
  • Start date Start date
REPLACE

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

neb said:
in vba what is the similar function for SUBSTITUTE in excel? Can u pls
help me?
 
This is my code:

Sub nebs(Mycell)
nebs = Substitute(Mycell," ","")
End sub

(I want to make it as a function in excel using visual basic editor but
Substitute function is not defined/not recognized. I use REPLACE instead but
it asks me for a value...any help?)thnks.
 

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