View Single Post
  #16   Report Post  
Posted to microsoft.public.word.docmanagement
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Word Field Code Symbol

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

On 31/12/2009 17:21, JoeV wrote:
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.

"Jay Freedman" wrote:

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 FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Thu, 31 Dec 2009 08:33:06 -0600, "Suzanne S. Barnhill"
wrote:

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

wrote in message
...
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.

"Peter T. Daniels" wrote:

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.

On Dec 31, 7:06 am, wrote:
Peter and Doug thanks for your help but can anybody else answer my
question.

"Doug Robbins - Word MVP" wrote:



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/Macros...hBookmarks.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

wrote in message
...
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.

"Peter T. Daniels" wrote:

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?

On Dec 30, 9:34 am, wrote:
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?
.


.