character code 25A1 from unicode in word

B

Barb

how to represent this empty square in vbs?. I need to build a small
vbs program to delete the square in the doc.

it's because word 2002 has a bug , when a variable with a value
is entered in a textbox or a grid , for each carriage return the document
return an empty square.

same probleme like another guy who sent a question in word.general the
12/15/2004 by Fred kruger.thanx

joe
 
W

Word Heretic

G'day "Barb" <[email protected]>,

25A1 (Hex) = 9633 (Dec)

CHRW$(9633) generates the char

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Barb reckoned:
 
K

Klaus Linke

Or ChrW(&H25A1)

.... but I doubt that it's a "white square" character.

Forms and message boxes can't display lots of characters and show them as empty
boxes.
In your case, it's maybe a Chr(7) or Chr(10) or another control character.

Just look at the string... If it's the last character:
? AscW(Right(myString,1))

Regards,
Klaus
 

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

Top