Questions tagged [word-template]

56 questions
7
votes
1 answer

How to correctly display multiple checkboxes in Word Template - Power Automate

After three weeks of long research I have not yet found anything related that can help me represent the selected values of a Checkbox in my Word template, so I dared to try to make on my own a possible solution that is not yet fully resolved, so I…
John Doe
  • 1
  • 5
  • 26
4
votes
3 answers

Filling Word template fields with C#

Currently, if I create a Word Document Template with fields, and then fill them using C#, I do it similar to this... object missing = Type.Missing; Word.Application app = new Word.Application(); Word.Document doc = app.Documents.Open("file.doc", ref…
erosebe
  • 927
  • 3
  • 16
  • 31
4
votes
1 answer

Developing a ribbon tab in Word 2010, using ampersand symbol in group label name

I'm developing a ribbon tab for use in a template (MyTemplate.dotm) for Word 2010. My problem: I want to have an ampersand symbol (&) in the label for a group. I have tried many things, and also alot of googling about this issue, but nothing…
Hauns TM
  • 1,909
  • 2
  • 22
  • 38
4
votes
1 answer

How do I generate a formatted Word report from multi-row/column Excel spreadsheet

I'm trying to auto-build a formatted Word report from an Excel template used by multiple teams. For example, if i have the following Excel structure: ......A.... |.....B.... |....C... 1 Name | Height | Weight 2 Jason | 74 | 170 3 Greg | 70 |…
user1766409
  • 41
  • 1
  • 3
3
votes
1 answer

Deploying Word Macro-Enabled Template (.dotm) with a Custom UI Ribbon

I have built a Word Macro-Enabled Template (.dotm) that works perfectly on my machine when I save it to my Word Startup folder. However, when I send the .dotm file to my colleagues (some on same environment as me and some not) an error is generated…
Scott Holtzman
  • 27,099
  • 5
  • 37
  • 72
3
votes
1 answer

Word template for dynamics Crm 2016

I have to show data on my word template from other entities linked to my main entity. but the standard template doesn't provide this possibility whene the depth of the association is more than 1. I tried to unzip the template and add the noeud into…
3
votes
1 answer

PHP add dynamic sections/tables to word template

I want to insert dynamic sections and table rows with images to a word template. As an example assume template contains 1-5 sections and I want to insert 6 - n sections/sub sections dynamically. I checked the requirement with PHP Word and…
Aruna
  • 91
  • 1
  • 9
3
votes
2 answers

Building Word fields

Apart from just inserting and parsing text into a blank Word field, is there any way to programmatically build user-defined fields and field codes into my own templates with VBA? Furthermore, is there a way to make these fields show up in the list…
JonnyGold
  • 861
  • 6
  • 15
  • 20
3
votes
2 answers

Closing a process that open in code

I create a WordTemplate with some placeholders for field,in code I insert value in this placeholders and show it to user. protected void Button1_Click(object sender, EventArgs e) { string DocFilePath = ""; //string FilePath =…
AmirHossein
  • 367
  • 1
  • 8
  • 25
2
votes
1 answer

How to use golang for .docx template (table content)

How to use golang for .docx template (table content): Like that (the number of customers is dynamic)
nOybek
  • 305
  • 1
  • 4
  • 7
2
votes
1 answer

Fill tables in a template Word with Python (DocxTemplate, Jinja2)

I am trying to fill with Python a table in Word with DocxTemplate and I have some issues to do it properly. I want to use 2 dictionnaries to fill the data in 1 table, in the figure below. Table to fill The 2 dictionnaries are filled in a loop and I…
PyNoob
  • 21
  • 2
2
votes
0 answers

Can someone explain picture content controls for a CRM Word Template?

I am experimenting with CRM Word Templates, which for the most part seem pretty straight forward, except when it comes to PictureContentControls. Every tutorial I've seen for CRM Word Templates looks pretty much the same and says to only select…
Goose
  • 3,241
  • 4
  • 25
  • 37
2
votes
1 answer

Is there a way to swap images between content controls?

The question pretty much explains every thing. I want to know if there is a way to change image in a picture content control from an image in another picture content control using vba. Thanks
S.aad
  • 518
  • 1
  • 5
  • 22
2
votes
3 answers

How to save a word template for a content type without filling in required fields

I have a content type that has required fields. I have associated Word document with the content type as a template. I now want to edit the Word template, but word won't allow me to save the template without filling in the required fields. …
Kwirk
  • 964
  • 15
  • 25
2
votes
1 answer

Automating digital signature for dotm (word templates)

Internally many developers work on customized word templates. When we ship the code, we would like to add digital signatures (pfx) to the vb code or to the dotm templates. Ideally, we would like to add this step to the build script. …
1
2 3 4