Most voted "microsoft-word" questions
16 questions
Sort by count of
-
12
votes4
answers2351
viewsMerge word docx documents from a template and replace words
I need to get the contents of a file docx as template, which contains as content a text and some identifiers to be changed with other data, and from that template create a single other docx with the…
-
6
votes2
answers5023
viewsFill in a Word document from Delphi
I want to create a system in Delphi, where I fill in the labels and then creates a word document with the information I typed... I put an example below where I will type the information and when I…
-
6
votes1
answer1345
viewsJoin data to Direct Mail | Parent and child table
I have a spreadsheet with data of students. For each discipline of the same student there is a specific line. I would like to do a direct mail with only one email per student, but that imports the…
-
5
votes2
answers1637
viewsForce text to be downloaded in a format accepted by Msword with PHP?
I’d like to know how to force the download of a file, with some extension accepted by Microsoft Word, through function header. I searched a few times, tested the MIME types I found, like the ones…
-
5
votes1
answer373
viewsIntegrating Delphi to Word (enabling Save Word button)
Some time ago I created a system that integrates the MS Word with the Delphi, only that the button of Save Word gets disabled. It would be important that this button was enabled, because it is…
-
4
votes1
answer1180
viewsAlternative to converting Word to HTML
I maintain a site that does not have CMS and often receive requests from the customer asking to put a text with a predetermined formatting. Usually these texts come in . doc or . docx format from MS…
-
4
votes3
answers2636
views"Find and replace" with regular expressions in MS Word 2016
I have a list with the result of candidates for an open competition I want to sort by note. However, before making the ranking need to remove the registration number of each competitor, which…
-
3
votes1
answer375
viewsWord and Mysql formatting
Colleagues, how would you get a Word proposal to be registered within Mysql and edited? I tried using the editors wysiwyg to put and paste, but Word HTML, after saved, Mysql does not recognize.…
-
3
votes2
answers917
viewsPrint word file by c#
Hello guys I am trying to print a word.doc file, I am using the following code. using Microsoft.Office.Interop.Word; Microsoft.Office.Interop.Word.Application application = new…
-
3
votes2
answers1665
viewsedit docx file and save to PDF in php
I have a docx file, my goal is to edit docx, edit a specific string (do something like str_replace), and finally save the file in PDF. docx as an xml zipped file, I’m thinking of editing from there.…
-
2
votes1
answer1087
viewsOpen word file through the . jar
I have a calculator in . jar working perfectly ! My questions are: In the menu I have the "Source code" button and I would like to open a Word document with the source code of the program. I managed…
-
1
votes1
answer890
viewsRead Word file without losing formatting
How to read a Word file without losing formatting the same? Status: Client wants to upload a Word file and we store all this within the database as text (for future searches and similar). Note:…
-
1
votes0
answers765
viewsMICROSOFT.OFFICE.INTEROP.WORD - Object Reference not set to an instance of an Object
I am in need of help with this problem using Microsoft.Office.Interop.Word. Detail: running the application in visual studio it works normally, without any error, however, if I play in IIS, it…
-
0
votes0
answers700
viewsInsert image into an existing table in a word document
I have hundreds of documents and need to add a logo inside an existing table. I am using Spire.doc, someone has a light to give me? Console.WriteLine("Digite o nome: "); String nome =…
-
0
votes1
answer121
viewsUpdate Memorystream when replacing Bookmark
Guys, I’m doing a job RESTFUL in C# that has a method that receives a byte array of a document WORD, and in this document I need to replace existing bookmarks with text that are also passed in the…
-
0
votes1
answer70
viewsPrintout from Microsoft.Office.Interop.word.dll only performs 1-page document printing
Good morning guys. I’m using the lib Microsof.Office.Interop.Word.dll to carry out the printing of a word document. When the document has only one page, the printing works normally. The problem is…