-
WSjudithmc
AskWoody LoungerDecember 20, 2004 at 10:18 pm in reply to: Different way to delete style aliases (Word 2000+) #914920Andrew,
your macro also works for all the other aliases that creep into documents. Great idea.
I did find one problem however. It caused all the built-in styles to appear in the Styles-in-Use list.
I added an if statement (If sty.InUse = True Then) and now it doesn’t add those extra stylesHere is my modified version of your macro:
Sub RemoveStyleAliasesRevised()
‘ Reduce each style to its first alias.
‘ This will generally be the name of the built-in style.
‘ Modified JMcC to limit styles to those with .inUse flag setDim sty As Style
For Each sty In ActiveDocument.Styles
If sty.InUse = True Then
Debug.Print “Removing ” & sty & ” aliases”
sty.NameLocal = Split(sty.NameLocal, “,”)(0)
End If
Next sty
End Sub -
WSjudithmc
AskWoody LoungerHi,
I suggest you define a character style “Author name” and set it to “Do not check spelling or grammar” (in Word 97 give it the language “No Proofing”). Put a button for this style on your formatting toolbar and whenever you enter an author’s name, select it and apply the style. From then on, the spellchecker should ignore the name. The advantage of this technique is that this requires no further maintenance.
Regards,
Judith -
WSjudithmc
AskWoody LoungerHi,
I suggest you define a character style “Author name” and set it to “Do not check spelling or grammar” (in Word 97 give it the language “No Proofing”). Put a button for this style on your formatting toolbar and whenever you enter an author’s name, select it and apply the style. From then on, the spellchecker should ignore the name. The advantage of this technique is that this requires no further maintenance.
Regards,
Judith -
WSjudithmc
AskWoody Lounger(Edited by judithmc on 17-Dec-04 09:18. )
Sundog,
In the attached sample, you have “keep with next” set for BottomLineStyle. This gives it nowhere to legally break so it breaks where it wants.
I removed it and now the breaks are OK.By the way, I strongly recommend space before, not space after. I prevents you having to define special styles like Last_List_Item.
Regards,
Judith -
WSjudithmc
AskWoody Lounger(Edited by judithmc on 17-Dec-04 09:18. )
Sundog,
In the attached sample, you have “keep with next” set for BottomLineStyle. This gives it nowhere to legally break so it breaks where it wants.
I removed it and now the breaks are OK.By the way, I strongly recommend space before, not space after. I prevents you having to define special styles like Last_List_Item.
Regards,
Judith -
WSjudithmc
AskWoody LoungerSundog,
In your sample, you have nested tables– that is, the second book starts a new table within the first table. You can see this if you turn on gridlines (the second book has a double grid line). You can confirm this by using Table->Convert to text and deselecting “Convert nested tables”.
I noticed that you have all your styles set to Automatically update – This is skating on thin ice – Letting Word define your styles
! I strongly recommend that you remove Automatic update. A lot of us turn off everything automatic as a matter of course.
Also, being a purist, I recommend that you only use tables for tabular data, not for forcing formatting. I believe you can achieve what you want by setting all your paragraph styles to be “Keep with next” except for your “Bottom line style” where you should turn it off. This will have the effect of forcing everything onto the next page unless the bottom line style fits on the current page.
Regards,
Judith -
WSjudithmc
AskWoody LoungerSundog,
In your sample, you have nested tables– that is, the second book starts a new table within the first table. You can see this if you turn on gridlines (the second book has a double grid line). You can confirm this by using Table->Convert to text and deselecting “Convert nested tables”.
I noticed that you have all your styles set to Automatically update – This is skating on thin ice – Letting Word define your styles
! I strongly recommend that you remove Automatic update. A lot of us turn off everything automatic as a matter of course.
Also, being a purist, I recommend that you only use tables for tabular data, not for forcing formatting. I believe you can achieve what you want by setting all your paragraph styles to be “Keep with next” except for your “Bottom line style” where you should turn it off. This will have the effect of forcing everything onto the next page unless the bottom line style fits on the current page.
Regards,
Judith -
WSjudithmc
AskWoody LoungerHi,
I’ve just tried out the Nuke Unused Styles macro. It’s something I’ve needed for a long time. I’m using Word 2000 SR-1.After using the macro, I am having trouble with the Style Area in Normal View. Some style names will not display (for example, List Continue). The area is blank. Also the Style name drop-down box on the formatting tool bar is empty. When I select Format-> Style form the menu, it shows the style as “Normal”. I can scroll up and select List Continue if I’ve selected “All Styles”; I can modify it and the modifications are reflected in the document, but the style name never appears anywhere.
I suspect it may have something to do with the hidden attribute, but I don’t know how to fix it.
Thanks,
Judith -
WSjudithmc
AskWoody LoungerHi,
I’ve just tried out the Nuke Unused Styles macro. It’s something I’ve needed for a long time. I’m using Word 2000 SR-1.After using the macro, I am having trouble with the Style Area in Normal View. Some style names will not display (for example, List Continue). The area is blank. Also the Style name drop-down box on the formatting tool bar is empty. When I select Format-> Style form the menu, it shows the style as “Normal”. I can scroll up and select List Continue if I’ve selected “All Styles”; I can modify it and the modifications are reflected in the document, but the style name never appears anywhere.
I suspect it may have something to do with the hidden attribute, but I don’t know how to fix it.
Thanks,
Judith -
WSjudithmc
AskWoody LoungerThank you for the prompt reply. The website was very helpful
Judith -
WSjudithmc
AskWoody LoungerThank you for the prompt reply. The website was very helpful
Judith
![]() |
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
-
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
39 seconds ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 hours, 26 minutes ago -
W11 24H2 – Susan Bradley
by
G Pickerell
5 hours, 21 minutes ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 hours, 22 minutes ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
9 hours, 30 minutes ago -
I installed Windows 11 24H2
by
Will Fastie
24 minutes ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
8 hours, 48 minutes ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
1 hour, 39 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
17 hours, 3 minutes ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
1 hour, 16 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
1 hour, 30 minutes ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
1 day, 10 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
1 day, 18 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
20 hours, 56 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
1 day, 3 hours ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
1 day, 13 hours ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
3 days, 5 hours ago -
50 years and counting
by
Susan Bradley
3 hours, 40 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
6 hours, 29 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
3 days, 16 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
3 days, 16 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
3 days, 16 hours ago -
OneNote and MS Word 365
by
CWBillow
3 days, 18 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
3 days, 18 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
3 days, 18 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
1 day, 10 hours ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
4 days, 6 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
4 days, 6 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
4 days, 15 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
4 days, 3 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.