Index
Don't know who you are responding to. You have a couple of suggestions from
myself and at least one other.
If myself....code works fine for me.
Select the cell(s) with abc123 and 123abc then run the macro.
Is it possible your text is generated via formula? Like =A1 & A2 or similar?
If so, the code will not work.
CopyPaste SpecialValuesOK would get rid of any formulas.
Try the code that Paul provided. It also works for me.
Gord
On Sun, 30 Nov 2003 14:31:37 -0600, index
wrote:
Thanks very much for your help. However, although i am no longer getting
any error messages, the macro is not doing anything to my data!
I am trying to remove any text from a cell, ie
abc123
123abc
ab123c
becomes...
123
123
123
Any further help would be much appreciated (apologies if this is a
simple task being made difficult by a simple user!!!)
------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/
~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements