Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I am trying to fill the merged fields from SQL. It works fine. But some of
data contains the symbol of trademark, registrationmark... How can I tell the Word to format it as superscript? e.g. field products: Intel(R) Centrino(R) Duo Thank you very much |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
You cannot format part of a field. One answer would be to merge to a new
document then use replace to replace (R) with its symbol i.e. ^0174. Similarly the trademark symbol ^0169 Maybe by macro? Sub SwapSymbols() ActiveDocument.Range = Replace(ActiveDocument.Range, "(c)", Chr(169)) ActiveDocument.Range = Replace(ActiveDocument.Range, "(C)", Chr(169)) ActiveDocument.Range = Replace(ActiveDocument.Range, "(r)", Chr(174)) ActiveDocument.Range = Replace(ActiveDocument.Range, "(R)", Chr(174)) End Sub -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org "Marek" wrote in message news ![]() I am trying to fill the merged fields from SQL. It works fine. But some of data contains the symbol of trademark, registrationmark... How can I tell the Word to format it as superscript? e.g. field products: Intel(R) Centrino(R) Duo Thank you very much |
#3
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Problem is not with a symbols, I can put them just into the sql.
Problem is with superscript (upper index). |
#4
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
You will have to execute the merge to a new document and then use
EditReplace to replace the symbols with superscripted symbols. -- 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 "Marek" wrote in message ... Problem is not with a symbols, I can put them just into the sql. Problem is with superscript (upper index). |
Reply |
Thread Tools | |
Display Modes | |
|
|