office-2003

Office Add-In Won't Run After Upgrade

I'm attempting to develop and deploy an in-house add-in for Excel 2003 using Visual Studio 2008. When I first create the project (along with the included Setup project, as well as add a SetSecurity project), everything works and deploys on client machine's flawlessly. I problem starts when I attempt to reopen my solution in Visual Studio...

VSTO: Event for Word Doc's Content/Text Changes?

Good afternoon, does anyone know whether it's possible to handle content changes or more precisely whether there's an event for that... one that would notify me if a document's content has been changed (ideally at what position/range etc)? Cheers and thanks, J ...

Replace MergeFields in a Word 2003 document and keep style (c#)

Hi I've been trying to create a library to replace the MergeFields on a Word 2003 document, everything works fine, except that I lose the style applied to the field when I replace it, is there a way to keep it? This is the code I'm using to replace the fields: private void FillFields2003(string template, Dictionary<string, string> v...

Excel - Red Cross where a drop down list should be

Hello, anyone shed any light as to why this might be happening for one user but not another. Excel 2003 Macro security is set to low; spreadsheet is not read only. Everywhere where there is supposed to be a drop down list, instead of that there is a box with a red cross in it. Kind Regards, Jim ...

How to disable conversion message when opening Office 2007 doc using Office 2003?

I am working on a C# application which opens Excel workbooks using Interop. It works fine except for one annoyance: when opening an Excel 2007 document on a machine using Excel 2003, a small message pops up saying "File conversion in progress". Does anyone know of a way to prevent that message from appearing at all? ...

Determining the size of a merged area

Right, before we get off about merged cells, I hate them too, but I've to deal with them anyway. I cannot change anything about that now or in the future. As much as I would like to ;) Say I have some merged cells, I need to determine the amount of cells it spans. Say A1:A4 are merged, then I need to have the number of merged cells, 4, ...

How to get real bullet positions in MS PowerPoint 2003

Hi, guys. I'm working on PowerPoint 2003 presentation conversion into some format, and I'm confused very much at one moment. Really, I can't understand what I'm doing wrong for almost two days wasting my time for this i-thought-it-was-tiny problem. I use PowerPoint Object Model to get the presentation document structure and its layout, ...

Security policy differences between Outlook AddIn 2003 and 2007

I have written a managed AddIn for Outlook 2007, and am now tasked with porting it to 2003. The addin downloads DLLs into the local user profile folder, then reflectively loads them for execution. This all works just fine in Outlook 2003, even with Click-once deployment. The issue Im experiencing is that the AppDomain does not have Exec...

What background colors for pre-2007 toolbars in Office applications should I use?

I am building an app that has a toolbar for Excel 2003 (and earlier). The toolbar requires BMPs which means not transparencies. How does this work? Do I pick a grey or blue that matches most of my installations and let the rest suffer? Or do I set it to an arbitrary color and indicate that color as a transparency for the toolbar? I am...

Is there a way to set search settings for ms office (2003) for non English charectars

Say there is a spreadsheet or table in MS access which contains non English characters (diacritics) such as à, á, â, ã, ä, å, æ, ç, è, é, ê, ë Since this system is used by English speakers, the end-user, when searching for values cannot guess whether or not certain words or names were entered in the English version or in the original ve...

Excel comment invisible under cell

My excel comment is gone under the cell ...how to make it always on top? ...

Creating autogenerating rows in Word forms

In Word 2003, I am trying to create a form that can generate additional entries if the person filling out the forms requires them. I have tried a form field that runs a macro on entry but that does not seem to be working. Is there a more elegant way to make a form that can add rows in Word as the user requires? Essentially something lik...

Excel 2003 doesn't have WorkbookConnection class

How to get over this problem Excel 2003 does not have WorkbookConnection class while 2007 have it. ...

VSTO Development with Office 2003 and 2007 installed side-by-side?

Does VSTO 3.0 (using Visual Studio 2008) support both Office 2003 and Office 2007 installed side-by-side on a single development computer so that both Office 2003 and Office 2007 can be targeted (in separate solutions)? I have seen conflicting information about this. NO: http://msdn.microsoft.com/en-us/library/bb398242.aspx Visual ...

SharePoint document library: Fail to open xlsx in Excel 2003 (with compatibility pack)

My company is using WSS 3.0 to host a document library storing (mostly) Office 2007 format documents. Company PCs have either Office 2003 (with the 2007 compatibility pack) or Office 2007 installed. We didn't have any problem getting docx to work, but xlsx documents don't open properly when we use the SharePoint document edit options. T...

How to extract bullet information from word document?

Hi, I want to extract information of bullets present in word document. I want something like this : Suppose the text below, is in word document : Steps to Start car : Open door Sit inside Close the door Insert key etc. Then I want my text file like below : Steps to Start car : <BULET> Open door </BULET> <BULET> Sit inside </BUL...

Strange behaviour using Drag and Drop in word 2003 automation in headers

Hi! I am developing a template based addin for Word 2003 which allows the user to drag and drop elements from a listbox into the word document. Unfortunately I'm getting a really strange behaviour when trying to drop elements in the document's header. Open the template and type something in the header Close the header and insert some ...

Unique IDs for Outlook 2003 AppointmentItems

Is there a unique Id for appointmentItems in Outlook 2003 that is similar to GlobalAppointmentID in Outlook 2007? Thanks ...

Making ThisWorkbook talk with ThisAddIn

I have a solution containing an VSTO Excel AddIn project and an VSTO Excel Template project. Is there any design pattern (or hack) that can allow the ThisAddIn instance to access properties and methods of the ThisWorkbook instance, and vice versa? Also I should note that I'm using VS 2008, VSTO 2005SE, and the target Office version i...

Is it possible to access a COM Object from Linux

Office is running in Wine, meaning I have a running Version (2003). But when I try to create a new COM object I just get the following error: Fatal error: Class 'COM' not found <?php $com = new COM('Word.Application'); $com->close(); Is there a way to get this working without installing Windows? ...