-
WSKlaus Linke
AskWoody LoungerIt probably has to do with language support for some exotic languages … something about OpenType Layout Tables.
Simple fonts don’t have these tables, but the bigger fonts that contain Hebrew, Arab, Asian… glyphs do.
If I understand these issues correctly (not sure), these fonts are mapped by Word.
In effect the layout tables are handles as if they were different fonts: One for Latin/western (Ascii) text, one for bidirectional (Hebrew or Arab) text, one for Asian text, and one for other complex scripts.The work-around if this leads to problems is to use Font.NameAscii instead of Font.Name in the macro.
I saw the original poster already got that info in the MS newsgroups… just for the record here, in case somebody else stumbles on this issue.Klaus
-
WSKlaus Linke
AskWoody LoungerApril 9, 2007 at 10:50 pm in reply to: Inserting text immediately preceeding a Field (Office XP/2003 VBA) #1060031Not sure about best practices, but this should work:
myRange.MoveStartUntil CSet:=Chr(19), Count:=wdBackward myRange.MoveStart Unit:=wdCharacter, Count:=-1 myRange.Collapse (wdCollapseStart)
It moves the cursor to the left until it finds the code of an opening field brace ^19, then one character more.
I imagine it’s hard to impossible to do using only Field.Code or Field.Result, since some types of fields have (or can have) one of those, or the other, or both.Klaus
-
WSKlaus Linke
AskWoody LoungerRelevant is the outline level (Format > Paragraph).
If she assigns an outline level other than “Body text”, the style(s) should appear in the Document Map.Klaus
-
WSKlaus Linke
AskWoody LoungerI guess the default “FileSave” and “FileClose” buttons in the template have been deleted, and replaced with custom macro buttons.
A better way (that would have retained the “Shift+File menu” functionality) would have been not to touch the built-in controls (menu buttons), and to intercept the built-in commands with macros of the same name (“FileClose”, “FileSave”, “FileCloseAll”, “FileSaveAll”).
Perhaps you can rewrite the template along those lines?
Klaus
-
WSKlaus Linke
AskWoody LoungerAnd if you start Word in safe mode (hold the Ctrl key while starting Word), does it work then?
(You’ll have to re-check Tools > Options > General > Confirm conversion on open)Might be an add-in…
Klaus
-
WSKlaus Linke
AskWoody Lounger> I’m assuming that it works precisely because the settings are (still) NOT sticky and it’s toggling it on?
Yes, something like that. Word seems to be confused about what’s hidden and what’s not when the first character is hidden, and wdToggle is just something that seems to work around that bug.
If you are writing a professional app, you might do something more elaborate to work around it (… say verify that what you think you found is hidden text really is).The work-around would probably blow up in your face if MS ever decides to fix the bug. Not that that is too likely…
Klaus
-
WSKlaus Linke
AskWoody LoungerIt’s a bug that was discussed somewhere on the Lounge before, I think.
IIRC, it depends on whether the first character in the document is hidden or not?
One work-around was to use .Font.Hidden = wdToggle (instead of = True). Not really good code, but simple.
Klaus
-
WSKlaus Linke
AskWoody LoungerI have seen that when the dialog was opened by a macro.
And whether it behaves in that way depends on how you write the macro … Dialogs().Show versus CommandBars.FindControl().Execute, so it can be avoided.Maybe EditGoto has been replaced by a macro on your machine?
Klaus
-
WSKlaus Linke
AskWoody LoungerOctober 19, 2006 at 5:26 pm in reply to: regular bold italic language problem (office 97 sr2 winxp pro) #1034338Very possible, as I didn’t use it. Sorry for the red heering then!
Klaus
-
WSKlaus Linke
AskWoody LoungerOctober 13, 2006 at 1:47 am in reply to: regular bold italic language problem (office 97 sr2 winxp pro) #1033161You could look if you find something in “All Programs > Microsoft Office > Microsoft Office Tools > Microsoft Office Language Settings”.
I haven’t used Word97, but if the customization was done by a MUI pack, you might find a (Danish) setting there.Klaus
-
WSKlaus Linke
AskWoody LoungerThe new linked styles (= styles that are both “Paragraph and Character” styles at the same time) are a giant nuisance.
They are created automatically when you apply any paragraph style while you have only part of a paragraph selected (usually by acident).
In the new version 2007, many of the built-in styles will automatically be linked styles.In versions up to 2003, you can get rid of them, though it is difficult to achieve without loosing some formatting. Maybe you can find macros to achieve that by searching the Lounge…
I’ll paste the one I use (based on a macro by Cindy Meister) below.Since in Word2007, you will no longer be able to get rid of them at all, it might not be worth the trouble to fight them.
There are loads of problems with linked styles. The one you have run in is that the two linked styles (one paragraph style and one character style sharing the same name) can have contradicting font formatting.
That is probably a bug.I have for example just edited a document that had about half the paragraphs in style XY showing as 10 pt font size, the other half as 16 pt font size.
The paragraph style’s font size was defined as 10 pt, but the linked character style (which does not show in the styles pane or styles control) had 16 pt.The solution to fix that (without loosing a lot of other manually applied font formatting) was like this:
Change to the VBA editor (Alt+F11),
open the immediate window (Ctrl+G),
with some text selected that shows the weird formatting (the 16 pt font size in my example above), run the line? Selection.Style
If there’s a linked style applied as a character style, you’ll get the styles name followed by “Char” (or by “Zchn” in the German version, “Car” in the Spanish …).
If it is a char style, then to fix the problem, I run the line
Selection.Style.Font.Size=Selection.Paragraphs(1).Style.Font.Size
or alternatively
Selection.Style.Font.Size=Selection.Style.LinkStyle.Font.Size
which set the size of the character style to that of the linked paragraph style.Or corresponding code for other font formatting other than the size…
Klaus
edited… had posted an old version by accident
Sub ShowLinkStylesUnlink() ' Based on one of Cindy Meister's macros ' (any bugs are mine) Dim myStyle As Style Dim myStyleLinkedStyle As Style ' On Error Resume Next For Each myStyle In ActiveDocument.Styles If myStyle.Type = wdStyleTypeCharacter Then Set myStyleLinkedStyle = myStyle.LinkStyle If myStyleLinkedStyle _ ActiveDocument.Styles(wdStyleNormal) Then If myStyleLinkedStyle.LinkStyle = myStyle Then Select Case MsgBox("The " & _ StyleType(myStyle.NameLocal) & _ " " & Chr(34) & myStyle.NameLocal & Chr(34) & _ " is linked to " & StyleType(myStyle.LinkStyle) & _ " " & Chr(34) & myStyle.LinkStyle & Chr(34) & _ ". " & vbCr _ & "Unlink?", _ vbYesNoCancel + vbInformation, "Styles linked:") Case vbYes myStyle.LinkStyle = ActiveDocument.Styles("Standard") myStyleLinkedStyle.LinkStyle = ActiveDocument.Styles("Standard") If myStyle.LinkStyle _ ActiveDocument.Styles(wdStyleNormal) Or _ myStyleLinkedStyle.LinkStyle _ ActiveDocument.Styles(wdStyleNormal) Then MsgBox "Didn't work!", vbCritical End If Case vbNo Case vbCancel Exit Sub End Select End If End If End If Next myStyle End Sub
-
WSKlaus Linke
AskWoody LoungerThe font is probably “Times New Roman”? I’ve never found out what these “private use” characters are for, either.
The combining diacritics don’t work too well in most TrueType fonts… Maybe they just added a few alternatives so you can center the dot below characters of different width.Klaus
-
WSKlaus Linke
AskWoody LoungerSeptember 15, 2006 at 11:10 pm in reply to: Gremlins changing outline level (Word 2002 SP-2) #1028823> If I use Select All ^A, followed by Reset Paragraph, will this fix all the outline levels without affecting any character formatting?
Yes, if you don’t mind to remove manual paragraph formatting.
Say “page break before” or “keep with next” (which I pretty often use to force nice pagebreaks).
Or manual restarts (on numbered paragraph styles).
Or all the numbering (if it wasn’t applied through a style).
…Klaus
-
WSKlaus Linke
AskWoody LoungerI also sometimes use a hidden paragraph mark (Format > Font > Hidden) after the table (say, also to “merge” two tables visually).
Some people don’t like this solution however — some because they don’t like hidden text at all, some because they think hidden paragraph marks cause trouble (corruption).Klaus
-
WSKlaus Linke
AskWoody LoungerStrange, your macro works well on your sample doc for me (Word 2003). There is an empty bookmark “QuickMark” between the space and the paragraph mark… Perhaps that messes things up in your version.
Klaus
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
5 hours, 30 minutes ago -
AI slop
by
Susan Bradley
4 hours, 40 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
6 hours, 46 minutes ago -
Two blank icons
by
CR2
13 hours, 16 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
15 hours, 40 minutes ago -
End of 10
by
Alex5723
18 hours, 21 minutes ago -
End Of 10 : Move to Linux
by
Alex5723
18 hours, 50 minutes ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
15 hours, 19 minutes ago -
test post
by
gtd12345
1 day ago -
Privacy and the Real ID
by
Susan Bradley
14 hours, 29 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
6 hours, 35 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 4 hours ago -
Upgrading from Win 10
by
WSjcgc50
6 hours, 5 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
23 hours, 49 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
1 day, 20 hours ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 8 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
1 day, 22 hours ago -
Are manuals extinct?
by
Susan Bradley
9 hours, 49 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 7 hours ago -
Network Issue
by
Casey H
1 day, 18 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
2 days, 19 hours ago -
May 2025 Office non-Security updates
by
PKCano
2 days, 19 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
2 days, 21 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
1 day, 22 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 7 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 hour, 5 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
3 days, 18 hours ago -
How much I spent on the Mac mini
by
Will Fastie
1 day, 2 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.