I am generating a HTML page from a J2EE application that contains Labels to use for printing addresses on envelopes. This just consist of a straight HTML.
The user wants to be able to copy and paste from the web page into a MS Word Template (see Letter Template
However when copy and pasted all the text is squashed into the 1st labels ...
I have a Word 2007 file and I want to change all usage of the Courier New font into
a Lucida Console font. I need a script that find all words formatted in that font and change it to the new font.
How can I do that?
...
I have some macros that run in Word. We are migrating to Office 2007.
Problem: the MsgBox function appears to lock all open windows of word. Any Ideas on how to get around that?
(It is a macro that walks a user through a bunch of prompts for information that they enter into user forms and or MsgBoxes.) The error says:
The command ...
I want to add a pdf and word format of my resume to my portfolio page and make it downloadable. Does anyone have some simple script?
...
How can I write to/generate a *.doc file programmatically using c or c++? Is there a (open source/cross platform) library to do this? If this is not possible, can write an *.odt file and then convert it to *.doc? Thanks in advance!
EDIT: Anders Abel commented that *.rtf file type is an option, so any suggestions on this one are also acc...
Is there any possibility in MS Word with VBA to show a short notification message to the user as he begins creating his Word document. I would like to display a short message to him, something like a notification (quickinfo, tooltip but control independent), which displays for about 30 seconds and dissapears automatically, so that the us...
Hi,
I need a window program to convert word file (.doc) into text. Something like "anitiword" for windows.
I need it because I need to convert word file into text and use Lucence to index it and I am in a windows environment :(
Thanks for all your help!!!
...
Is there a way to use Unicode paths/filenames in Word 2003 or higher VBA code?
It appears that Word supports Unicode path/filenames via its interactive dialogues, but when our VBA code tries to manipulate Unicode path/filenames exposed via Word properties, we get back strings with lots of question marks.
Is there something we need to d...
I am trying to add custom icons to a Shared Add-in for Microsoft Word. The Shared Add-in uses XML to add a tab to Word's Ribbon.
I am following the guidance of this document on MSDN: I have followed the steps described in the document for adding the image as a Resource. When I run the installer, and open Word the icons do not show up.
...
I need to use the Microsoft.Office.Interop.Word namespace to extract if a Word document contains macros, and which ones. The MSDN documentation for this namespace doesn't give much information compared to the documentation on other .Net classes.
Where can I get more informations about this namespaces (examples, complete documentation, et...
I'm trying to add some HTML formatted text to Word using Office Interop. My code looks like this:
Clipboard.SetText(notes, TextDataFormat.Html);
pgCriteria.Range.Paste();
but it's throwing a Command Failed exception. Any idea?
Thank you
...
Hi
I am at my whits-end with this problem. I can successful bind xml to the main document part, however I cannot seem to be able to get content controls in the header to bind to the xml.
AddCustomXmlPart doesn't seem to exist for Headerpart and if I try to add a CustomXmlPart via hdrpart.AddPart(xmlPart);
I get an Invalid operation ...
Hi All,
I have a classic ASP application which inserts some values into a word file using bookmarks. I can insert text on the bookmarks. The only problem is checkboxes, I have some checkboxes in document. I have created bookmarks on checkboxes. Can someone tell me how to tick the checkboxes through VB script?
Thanks.
...
Hi,
I'm not sure why my code is not working..
I have code in vba in Access 03 which opens a word document which runs a mail merge process.
When the code runs, it asks me what the Header Delimiters are. I specified those in the export file as a comma for a field delimiter and as the record delimiter. After I confirm this in word, I get...
I am working with a small company who is slowly moving to MS access. Currently all their reports live in multiple MS Word documents. During this transition they need to not only keep the word documents up to date, but also feed the information into the database. (Basically remove the need to double enter data).
Is there a way that I can...
I have about 100 Word documents which include transliteration of foreign names. The author of these documents used a special font called e2 which has about a dozen special transliteration characters (all of which are available in Microsoft Sans Serif font).
I would like to loop through every letter of the document and whenever the .Font...
Hi guys.
I'm trying to do the next:
I have a word document, than contains the languages of a copyrights: English, Portuguese, French, ... initialy all hidden(the text)
And in the top of the document i have Checkboxs, 1 for each language, than the objective is when i choose of them the text of the language than i selected apppears (by ...
Hi,
I am trying to capture the name and path for an active Word application using COM components But whenever a dialog box (like save as.. or print etc.) is open, I get a COMException - "The message filter indicated that the application is busy". Is there a way around it for fetching the document details?
Thanks
...
is there any simple way to replace an image inside word-document with an excel chart using VB and preserving all of the format details such as image frame style, text wrap, anchor, etc. (thus the image is just a placeholder in a template document)
...
You know in MS Word, you can write text and draw&put shapes anywhere you want.. in the text when you hit enter and get to a new line, the shapes below your cursor also moves down one line? I want to implement that property in Java on a pane, using components as the shapes and text. How can I provide absolute positioning for shapes but at...