-
WSwcutler
AskWoody LoungerI’m looking for how to go the other way. How do I load an add-in (from a LAN directory)? Schatzie’s code looks to me as if the add-ins are there and that program is looking for a particular one. Would
AddIns(“L:TemplatesTemplateName.dot”).Installed = True
add it? -
WSwcutler
AskWoody LoungerAndrew, exactly what I wanted to understand. Thanks. And I’m entired pleased with the white lines.
Gary and Crudd, thanks for the suggestions. Since the readers could be people I don’t know, I wanted to avoid depending on a macro (which might cause them to not open the document or to disable the macro), and I couldn’t depend on their having a particular configuration on their computer.
-
WSwcutler
AskWoody LoungerYes, the white borders do it nicely. Thanks very much. I just tried printing it on yellow paper and I don’t see white borders. That’s nice, but I obviously don’t understand what ‘white’ means.
-
WSwcutler
AskWoody LoungerWhen you say the formatting is lost, I’m assuming you don’t mean ALL the formatting. As was mentioned, different printer drivers make a big difference, particularly in the number of lines that will fit on a page. And as another poster mentioned, if there’s a font in use that’s not on the other computers, the substitution can make a terrible mess. And if there’s anything in the document that depends on the template, and the template is not available in the location where the document is looking for it, that will affect it as well.
When we’re posting documents to be viewed by others, if formatting is important, we convert them to Acrobat pdf so that the exact formatting will be retained.
-
WSwcutler
AskWoody LoungerThis is a wonderful collection of references. Thanks for posting it.
-
WSwcutler
AskWoody LoungerI don’t really know, and I don’t have Word 95, so here’s just a ‘wonder if’: Does Word 95 have any style names with three words, or longer than some number of characters? Is it sort of like DOS names, where the name gets shortened and a number suffix added? Or, does the style have some feature that’s not available in Word95, so it gave it a new name so to indicate that it wasn’t exactly the same?
-
WSwcutler
AskWoody LoungerIf you provide templates (saved as .dot files) for the documents people will be doing, and you have the styles all set up in the templates, when people base a new document on the template, the styles will be there. All you’ll need to tell them is the name of the style for the format they want. You can also have a StdDoc or similarly named template that has no boilerplate text at all but has the styles. You just have to train people to start by basing new documents on your standard template.
-
WSwcutler
AskWoody LoungerEdited by wcutler on 01/03/26 20:26.
Tada! Thanks, Jefferson. That fixed the error. After I fixed the code to close the template before activating the new document, it worked.
-
WSwcutler
AskWoody LoungerEdited by wcutler on 01/03/23 00:59.
I didn’t have to configure anything, in the end. I just created the shortcut, renamed it to a short name without a LNK extension so that the DOS name would be similar, and used the DOS name of the shortcut (with the .lnk extension) for the link. I put all the shortcuts in a directory on the web server so they wouldn’t show in Word when people use file|new.
-
WSwcutler
AskWoody LoungerIt’s so reassuring to see that Karen has done or is trying to do the same things I’ve been trying to do. I’ve had the problem in Office 97, though, on NT. I’m using Karen’s code to open a new document from a template when the template name is clicked in Word. (I’m using a shortcut to accomplish this from a browser, but it occurred to me I could do both, so a new document would open whether from the browswer or from Word).
I tried Geoff’s suggestion, but it still left the original document (the one with the link) on top. It seems to think the one that’s on top is the current document, so if you save the name of the current document to activate it, that’s the one you get.
I tried Gary’s suggestion to incorporate setting the new object in the add statement, but I specify the template and there’s a compile error – expected end of statement. The statement is:
Set objDocNew = Documents.Add Template:=”J:PROJ-CORTemplateUpdatesProject97ProjectDataelem.dot”, _
NewTemplate:=FalseIt highlights the word ‘Template’ as the problem. Do you know what I’d need to change?
Phil, I can’t use a solution that depends on a machine setting, as these templates are used by lots of machines on a LAN.
-
WSwcutler
AskWoody LoungerI’m not using Word 2000 here, so this is just an idea. Does it help to save the document after the fields have been filled in? Or even to update all fields, or go into print preview and back? How do people go about making changes to the fields? By right click and update field, or some other way?
-
WSwcutler
AskWoody LoungerI should correct what I said about the shortcut – it’s bad but not that bad. I had to rename the shortcut from ‘Shortcut to abc.dot’ to ‘abc.LNK’. Then I had to use the dos name for that, which you find on the first tab of properties in Explorer. Since the shortcut name was shortened, the dos name for the shortcut begins with the same letters, which is a lot better than having a whole bunch of files with names like ‘shortc~1’.
-
WSwcutler
AskWoody LoungerThank you jscher. I’m getting there. I found (with some difficulty) the corresponding article for Word 97, which is http://support.microsoft.com/support/kb/ar…s/Q244/2/66.ASP. The setting mentioned in the Word 2000 solution doesn’t exist on my NT/Word97 system. In the Word 97 solution, they said to create a shortcut and link to that, typing in the name. That didn’t work with the ‘Shortcut to abc.dot’ name. I tried to rename the shortcut to something that would be understandable and was short enough to be an acceptable DOS name, but so far, I’ve only got it to work with the real DOS name (SHORTC~4.LNK). But it did work!
What a hassle for maintenance, though. I have copied the shortcut to my C drive, in DOS renamed the shortcut, then copied it back to where I want it on the LAN and that also worked. So really it’s only a hassle for me. No problem.
-
WSwcutler
AskWoody LoungerThanks, Karen. I’ll look into the Application Object. Word also crashed on me yesterday when I was running the macro. I hope it’s just because I was trying too hard and don’t have things exactly right.
-
WSwcutler
AskWoody LoungerKaren, I’m very excited that you’ve used this on an intranet. In my second post I quoted the error message I got (here it is again: “Add method or property is not available because this document is in another application”). I have it working now in Word (though not from Document_Open – I copied it from there to AutoOpen and then it executed when I linked to it from a Word document), but in our browser, I can sort of understand that it’s trying to open the document in the browser instead of in Word and that must be what it means by “another application”. We use Microsoft Internet Explorer; it sounds as if Netscape handles this ok but MSIE does not. Do you or anyone know how to get MSIE to not integrate with Word and to open the document directly in Word? Or is there some other answer?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
What is wrong with simple approach? (Awaiting moderation)
by
WSSpoke36
9 minutes ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
3 hours, 30 minutes ago -
June 2025 Office non-Security Updates
by
PKCano
6 hours, 43 minutes ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
2 hours, 5 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
6 hours, 39 minutes ago -
How start headers and page numbers on page 3?
by
Davidhs
17 hours, 4 minutes ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
11 hours, 39 minutes ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
1 day, 1 hour ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
1 day, 1 hour ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
15 hours, 27 minutes ago -
Firefox 139
by
Charlie
8 hours, 2 minutes ago -
Who knows what?
by
Will Fastie
2 hours, 35 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
1 day, 2 hours ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
20 hours, 53 minutes ago -
Misbehaving devices
by
Susan Bradley
1 hour, 37 minutes ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
2 days, 8 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
5 hours, 46 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
2 days, 6 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
1 day, 6 hours ago -
Edge Seems To Be Gaining Weight
by
bbearren
1 day, 21 hours ago -
Rufus is available from the MSFT Store
by
PL1
2 days, 5 hours ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
3 days, 8 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
1 day, 7 hours ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
1 day, 6 hours ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
3 days, 3 hours ago -
Office gets current release
by
Susan Bradley
3 days, 6 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
4 days, 20 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
4 days, 5 hours ago -
Stop the OneDrive defaults
by
CWBillow
4 days, 21 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
5 days, 7 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.