What is the method to remove Character Code : 25A1, Unicode Hex from a
word document.

Thanks,

Yo:D



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

Re: Method to remove Unicode Hex Symbol by eltupac

eltupac
Tue Sep 16 14:48:17 CDT 2003

No hurry, dont need anymore. But it would be nice to know.

A quick one, how do you clean the clipboard from Word after a macro
run.

Thanks



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/


Re: Method to remove Unicode Hex Symbol by Klaus

Klaus
Wed Sep 17 06:44:15 CDT 2003

> What is the method to remove Character Code : 25A1,
> Unicode Hex from a word document.


Hi Yo:D,

You can copy the symbol to the clipboard (Ctrl+C), and paste it into the
"Find/Replace" dialog (Ctrl+V).
Replace with nothing (= leave "Replace with:" empty).

If you don't have it anywhere in the text yet to copy, you can insert it
from "Insert > Symbol", or, in Word2002, type 25A1, followed by Alt+X.

Regards,
Klaus


Re: Method to remove Unicode Hex Symbol by Klaus

Klaus
Wed Sep 17 06:48:08 CDT 2003

Aah, missed that this is a VBA group...

Record a macro that replaces some character with nothing, then change a
line to
.Text = ChrW(&H25A1)

:-) Klaus