word-2007

the usage of VB command in word 2007

The thing I have problem in Word in Developer tab which you have to add it, in XML group there is schema command and it has some tabs in it which I don't know anything about them and in Code tab visual basic command ...

I'd like to preview a Word document on form.

Update2: For now, I'm considering saving a temporary copy of the document in html format to display it, but this kills my idea to show the user's real time affect on the document. It's just bad practice to re-save at every character input and reload the browser. So, I suppose this may just be impractical for now. I'll keep my ear to ...

Word 2007: mail merge hyperling from data field

Not really hard core programming, but it's been bugging me. I need to do a simple mail merge and in the merge I need to personalize the url. It seems like the only option is to use a macro (alt-f9 field editing doesn't work as expected), but I just cant get it running. I've created an EventClassModule as described here: http://msdn.mic...

Word 2007 customisation - template based addins vs. custom dlls written in Visual Studio?

I'm planning an upgrade to Word (Office) 2007 and need to decide now which customisation route to take. The current set-up is Office 2000 with templates acting as addins, loading with Word (from the startup folder) to support a lot of functionality - interface with DMS, interface with CRM, user form behaviour and printing to name but a ...

Multiple Word2007 references in the Running Object Table

Contrary to earlier versions (see here), I find that Word2007 places one entry into the Running Object Table for each instance of WinWord.exe that is running. (Using IROTVIEW.exe supplied with MS VC 6.0!) I am trying to build an application that automates Word, and I would like to keep a hidden instance of Word unavailable to the user, ...

Is it possible to add some data to a Word document ?

Is it possible to add (thru the MS Word object model? or by editing file) some custom data (another file maybe?) Will be that data preserved after opening, changing and saving document in MS Word ? (I need to put some tracking data in docx during some report export, custom data will be used again during import) ...

Where is the Word 2007 schema library stored?

Word 2007 allows XML schemas to be attached to a document (under the Developer toolbar | XML group | Schema button). Where is this schema library information stored? I have documents that I have created with custom XML tags based on a schema but when I pass on the document and the schema to someone else the schema is marked as unavailab...

how do I mark a file as a data file in a visual studio 2010 vsto clickonce application?

I'm making a Word 2007 add-in with C# 4.0 in Visual Studio 2010. I need an Access 2007 database (a .accdb file) to be placed in the data directory by the clickonce installer. Unfortunately, the file is getting put elsewhere, so the application can't find it at runtime. I've seen various articles refer to using the Application Files dialo...

Word 2007 - adding custom information invisible to the user in word elements

Hi, I would like to store some custom data on Word elements. In PowerPoint, every shape has a 'Tags' property, which is visible to programmers only, and anything can be stored in it. It's described here: http://blogs.msdn.com/b/andrew_may/archive/2004/12/07/277696.aspx Is there a convenient way to do it in Word? Regards. ...

Create Word Shape without a document

Hi, Is there a way to create an instance of Word Shape without opening an actual document? ...

Different background colours per page in Word 2007

Hi, I'm attmepting to change the background colour of each page in a word document - similar to changed themes/backgrounds in a powerpoint. Its creating a photo gallery ready to print, and I'd ultimately like to use word not powerpoint because of the other people working on this ( they're not as technically minded as myself). Is this ...

VBA tab strip macros in Word 2003 lost in Word 2007

At wife's workplace, they use a Word template file with a customized strip of editing commands in MS Word 2003. This includes some macro VBA commands to create customized tables and stuff. They want to migrate to Word 2007, but the strip of commands does not follow and they cannot find it. Any ideas how to migrate a strip of commands ...

Add a filename field without .doc extension in document header

Working in Office 2007, I'd like to add a filename field in my document header. The document will later be a PDF, so I don't want the extension. I've played with Insert -> QuickParts -> Field, to no avail. I've got a gut feeling that it requires a formula... Thanks in advance if you can help. ...