![]() |
#16
|
|||
|
|||
![]() I would again urge you to look into the possibility of AutoText stored in a global template (or the attached template) accessed using an AutoText field instead of the IncludeText field. |
#17
|
|||
|
|||
![]()
I admit this sounded like a lot to learn about, especially considering that the IncludeText approach is working-- almost. My included text has to be fully formatted and will include some fairly big chunks, whereas Autotext seems oriented toward small insertions such as a standard salutation. Would the global template work by using links to files? Is there a discussion of this use somewhere on the web?
|
#18
|
||||
|
||||
![]() Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#19
|
|||
|
|||
![]()
What {FILENAME \p} gives me is the full path plus the file name, but what I want is *only* the shared document's full path, appended to the name of the file to be included. In other words I need the equivalent of VBA's ActiveDocument.path. Is there a way to get only the path?
|
#20
|
||||
|
||||
![]() Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#21
|
|||
|
|||
![]() Quote:
AutoText can contain multiple pages. It can contain large tables. I don't know whether it can include a Section Break. I've never tried. I'm sure that there are limits, but they must be truly large. With the AutoText you do not have to worry about bookmarks. A template containing AutoText can be loaded as a Global Template. When it is, the relative path to the document using the AutoText is irrelevant. Formatting is best done through Styles using either AutoText or IncludeText. It would be possible to have different templates holding the AutoText in different locations. The template would have AutoText entries with the same name but different content to suit the location. In a case where you are working on three company's documents on the same computer, you could manually load the different templates as Add-Ins. If you are getting the IncludeText to work for you, great. When I posted my last comment, it looked like you were getting bogged down in the relative path problem. |
#22
|
|||
|
|||
![]()
Thank you for the explanation. I'd still want to see an example of how this is done. In the meantime, I'm using the {FILENAME \p}\..\ variable. I misunderstood the notation in that, not realizing the ".." needed to be used literally-- I thought I needed to substitute something. I notice it's faster, with less hiccupping, than the first way I did it.
|
#23
|
||||
|
||||
![]()
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Same values of variables in word add-in are being shared across multiple document | naq.abbas@gmail.com | Word | 0 | 01-13-2014 10:41 AM |
![]() |
Joyce | Word | 3 | 07-12-2013 08:54 AM |
![]() |
AquaSabes | Excel | 1 | 09-22-2011 02:29 AM |
![]() |
hoorayhooray | Chitchat | 1 | 05-19-2010 10:39 AM |
Office 2003 docs containg JPG Image to 2007 Document | Sandip Dangat | Drawing and Graphics | 5 | 10-30-2009 06:27 AM |