Drive Letter Unknown

  • Thread starter Thread starter BazzaOz
  • Start date Start date
B

BazzaOz

Hope you can help

Have 100’s of documents in 8 different folders. I’m using INCLUDETEX
to insert a header file containing company logo and address details. A
I don’t know what drive the client will store these files on - I need
solution that does not require drive letters in the path.

I was hoping this would work
{ INCLUDETEXT "..\\TheSystem\\MainFolder\\Header.doc" }

But get this error
Error! Not a valid filename
 
If instead you use autotext (saved in the document template) to insert your
header information, the path becomes irrelevant.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP

Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
Sorry – forgot to mention that I will be supplying this to 100’s mayb
1000’s of clients. Your suggestion is what I am currently doing, bu
its just way too slow, modifying hundreds of word files every time
need to supply it to a new client.
Thanks!
Barr
 
To use AutoText for these multiple documents / templates, you would put the
AutoText into a global template which would be stored in the users Word
Startup folder.
See Tools => Options => File Locations.

You would use an AutoText field to display the information.

I suspect that your documents should be templates. Something should be a
template if it is used to create new documents that are then saved. It
should be a document if it is used "as is" and any changes made are saved in
the document for future use.

Note that using either INCLUDETEXT or AutoText for this will mean that if
you save documents and then open them, the information contained in a saved
document will also be updated. Because I'm a lawyer and want my saved
documents to be what I sent rather than what I would send if I were sending
the same thing today, I avoid this by inserting fixed components when a new
document is created. The fixed components come from a separate file. I can
update the single file and all new documents will reflect the update while
historical documents remain unchanged. This is similar to the question of
whether to use the DATE field or the CREATEDATE field in a template.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
Frankly I cannot see how there is any difference between changing an
inserted document and changing an autotext entry in a global or document
template.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP

Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
Thanks for your input guys, but my dilemma is the reverse of what yo
are saying. The document is static. Its the header that changes.
To help you understand where I am coming from...I supply a managemen
system to clients consisting of hundreds of documents. These document
are then customised - currently - manually by inserting the client
logo and contact details on every page. That's why I decided that th
INCLUDETEXT was a good approach. It works except for one thing. I hav
no control over where the client will saves the documents. If they sav
them to any drive other than the ones they were created on, the whol
thing falls over. Any other ideas would be most appreciated
 
AutoText does not require knowing the drive letter where the document will
eventually be stored. It does require that the template holding the AutoText
be attached to the document or loaded as an Add-In.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
Back
Top