Perhaps I should give more details about the problem. In fact, the content
(I don't know whether it is of numeric or text nature) is copied from a
web-site. When it is pasted on worksheet, there is a green triangle shown on
the upper left cornor asking for actions. What I need to do is to change it
to numbers. Could you please show me.
Select an empty cell
edit|copy
Select the range to fix
edit|paste special|check values and add (both)
If that fixes the problem and you really need a macro, then record a macro when
you do it manually.
But...
Copying from web pages can be a problem. Sometimes what looks like a space
character isn't really a space character--it's one of those HTML non-breaking
spaces.
David McRitchie has a macro that cleans up this kind of stuff:
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.