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.