Word Field Code Symbol

J

JoeV

I created a bookmark for a field code and I am currently sending one symbol
to that bookmark, {SYMBOL \u 1092}. How can I modify {SYMBOL \u 1092} to add
a second symbol 1093?
 
P

Peter T. Daniels

Just asking: does " \u " introduce a Unicode coding? 1092 and 1093 are
part of the Myanmar (Burmese) range and are "reserved" and should not
be used for anything else. What is the purpose of your bookmark?
 
J

JoeV

The "\u" is for unicode, the 1092 and 1093 are just an example. My symbols
would be 1053, 1050, 1055 and 1056 all to be used if possible in one
bookmark. The bookmark is used when my external program writes data to the
document.
 
P

Peter T. Daniels

I don't understand what you're trying to do, but why can't you simply
type the four Burmese letters?
 
D

Doug Robbins - Word MVP

What command it being used by your external program to "send" the
information to the bookmark?

See the article "Working with Bookmarks in VBA†at:
http://www.word.mvps.org/FAQs/MacrosVBA/WorkWithBookmarks.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
P

Peter T. Daniels

If you could explain why you're "sending symbols to a bookmark," maybe
someone could come up with a way to do what you want to do.
 
J

JoeV

I have a Russian document that has generic information. I have program that I
created that will write to the Russian document with specific information in
Russian for each instrument that we are testing and the information needs to
go in its each specific location within the document. The software package
that I am using does not support the entire unicode format. It so happens the
Russian characters that I need are out of the range of my software package,
there 16 bit instead of 8 bit. The bookmark is to define the specific
location for each piece of information and the field code is to send the
decimal value of each Russian letter.
 
S

Suzanne S. Barnhill

The Help topic for the SYMBOL field says that it "Inserts a single character
or a string of characters in the ANSI character set." Although no examples
are given, I would suggest that you try specifying more than one, the
numbers separated by a comma (or semicolon if a comma is used as the decimal
point), and see what happens.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
J

JoeV

Suzanne, I tried the following {SYMBOL 1053,1050,1055,1056 \u} then replaced
the comma's with semicolon and still it sends only the first symbol to the
document.
 
G

Graham Mayor

Am I missing something here? Why not send two or more Symbol fields

{Symbol 1053 \u}{Symbol 1050 \u}etc

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
P

Peter T. Daniels

What I'm now missing is why he's sending codes for Burmese. The basic
Russian alphabet is 0400 to 044F..Are his numbers the decimal
equivalents of those hex codes? If so, how does Word know they're not
standard Unicode codes?
 
S

Suzanne S. Barnhill

Nothing I can find online (from Microsoft or anyone else) seems to give an
example of a SYMBOL field with more than one character (notwithstanding the
Help topic), so perhaps it just isn't possible that way. As Graham suggests,
perhaps you could use more than one field?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
J

Jay Freedman

Unfortunately, the Help topic seems to be one of those that were
written as "here's how it's supposed to work" rather than how it
really works.

Including two or more numbers, separated by spaces, commas, or
semicolons, results in display of the single character corresponding
to the first number. Oddly, surrounding the list of numbers with
parentheses as you would do in some other field codes results in the
display ###.

I think the only way to accomplish this is to insert a separate Symbol
field for each character.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
J

JoeV

Thanks to you all, that is what I will need to do, I wanted an easy way to
create the least amount of symbol fields, but it looks like I will need to
create about 130 symbol fields for each character. Once again thanks for you
help.
 
P

Peter Jamieson

Inserting a SYMBOL field is only one way to insert a symbol. If you can
insert a string, it may be useful to know that you can insert "wide"
characters in the string using CharW, e.g.

mystring = charw(1092) & charw(1093)

If you can show the code as Doug suggested, it might be easier for
people to suggest a way to do that.

However, without a copy of the font(s) you are using it would probably
be difficult for anyone to predict the result of inserting a string
containing "wide" characters.

Peter Jamieson
 

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