TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: updating includetext fields from a macro From:Keith Hood <klhra -at- yahoo -dot- com> To:Jay Maechtlen <techwriter -at- laserpubs -dot- com>, TechWrl list <techwr-l -at- lists -dot- techwr-l -dot- com> Date:Sat, 6 Jun 2015 02:44:38 +0000 (UTC)
The Link field can be set up to automatically update when the document opens, so if you use that maybe you can get away without using the macro. But they have problems if the source file you pull from is a Word document. Link fields work much better with Excel source files.
Do the update failures occur in any discernible pattern? Do they happen only after info in a source file has been changed?
Do the update failures throw any error messages, or do you just not get the latest info in the source files?
Are you absolutely certain that the bookmarks in the source files are set up correctly?
Are you absolutely certain that when the bookmarked content is changed, the change does not accidentally ruin the bookmarks?
Do the update failures happen for only one person or a few people? Since the source files are in SharePoint, I have to wonder if the problem is the person running the update macro doesn't have the necessary permissions in SharePoint.
On Friday, June 5, 2015 7:05 PM, Jay Maechtlen <techwriter -at- laserpubs -dot- com> wrote:
On 6/5/2015 4:59 PM, Jay Maechtlen wrote:
> We have a Word doc using {includetext } fields to pull in content
> (within bookmarks) from a number of files.
> I created a macro to iterate through the main doc and perform
> UpdateSource on each of those includetext fields.
> It runs, and pretends to do its job.
>
> Unfortunately, the fields don't always update. Both the containing doc
> and the included docs are on a SharePoint site.
> Any ideas?
>
> Thanks
> Jay
>
At least one article on MS Support suggests using the {link} field
instead of includetext for informtion that's likely to change. https://support.microsoft.com/en-us/kb/212041
Anyone know of the pros and cons?
Thanks
Jay
--
Jay Maechtlen
626 444-5112 office
626 840-8875 cell
www.laserpubs.com