Hi, i have been trying to find information on how to add a header in Ms Word programmatically with the text aligned both in the left and right side of the document.
The application I´m developing is supposed to add a header programmatically when Printing a document. As for the text in the header, I want to add a number, a title and the name of the document on the left side, and the page number, date and time of print on the right side.
I have no problem doing this with the text aligned all to the left or right, but I´m unable to find information on how to do it with the text aligned both left and right on the same rows.
The documents that are printed are in .doc and .docx format. So Word 2003 through 2013.
I am most grateful for any help i can get to make this work.