Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2020, 04:36 PM
Guessed's Avatar
Guessed Guessed is offline How to Use XML Parts with .dotm Windows 10 How to Use XML Parts with .dotm Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default


Looking at the other thread linked by Paul, you have a bunch more information there that complicates this further. I'm not a member there so I'm not posting there.

Firstly, your docm files all have an 'attached template' so you can still house building blocks in Normal.dotm, the attached template or even an addin. If the docm files already have a common attached template then that would be the simplest place to put your building blocks.

Secondly, are you trying to do all of this via code or do you want to use the Word GUI to link to the xml elements (fields)?

Thirdly, the code shown for Document_New is not achieving anything let alone doing this...
Quote:
I have tried "binding"(?) the xml part in the Sub Document_New code.
You generally bind a Content Control to an embedded XML Custom part's xml element. You might replace or update the xml custom part but I wouldn't use the terminology of binding it to the document.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
template quickparts word, word 16, xml source



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Use XML Parts with .dotm Normal.dotm location? gogreen Word 6 07-17-2016 09:45 AM
Convert .dotm to .dotx rogelinepaula Word 1 06-04-2015 09:39 PM
.dotm available to all users? donaldadams1951 Word VBA 3 05-06-2015 07:02 PM
How to Use XML Parts with .dotm Location of normal.dotm namedujour Word 3 04-25-2013 03:24 PM
How to Use XML Parts with .dotm How to get to normal.dotm Aiken_Bob Word 4 05-02-2011 02:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft