ms-office

Copy Table macro for Microsoft word 2007

Hi I have a simple requirement in MS Office word 2007 document. I needed code behind the macro which copies a Table (formatted one) and paste it everytime when I run this macro. The scenario is as follows:- 1. I will copy a formatted table (with 7-8 rows and 5-6 columns, etc) and store it in a macro as button or shortcut key. 1.Whenev...

(free) tool to create word database design/shcema document from a sql server database

Looking to document a database schema after the event. I know red gate software have a commerical tool for this. I'm looking for a free tool to generate a word document from a SQL Server database. ...

Is SharePoint compatible with Office 2010?

Hi All, I have a site developed in Microsoft Office SharePoint server 2007 and I have installed Microsoft office 2010 on my machine. When I try to access excel file stored in document library. It gives me an error saying that it requires a Windows SharePoint Services compatible application. It was working fine when I have Microsoft off...

Programmatically Printing or converting a powerpoint to one note

Hello I want to create an application which will make things easier for me. I always need to convert a bunch of power point documents to one note, but the process takes a few minutes for each. The process goes as follows: 1.)I have to open the powerpoint and then print>Print to Onenote. 2.)Then once Onenote opens I have to, file>save ...

C# office 2010 automation

hello , i'm trying to make a program that inserts data into specific places in existing word document and saves a copy of it. and i have no clue how to do it , and i cant find any good resource on office 2010 automating. can anyone point me in the right direction and/or give me some examples. thanks in advance. found a solution will ...

Digital Signature Standard Office 2003

Hello, Anybody know which standard use Office 2003 to sign a document? Office 2007 uses XML-DSig Office 2010 uses XAdES Office 2003 ¿? ...

Word and Excel compatibility with microsoft office

is your product compatible with office 2004 for macintosh? ...

VB macro or office addin for mac

Hi, Currently we developed a VB macro for word. While we tried to use it on mac it failed with message "VB Macro not supported in mac". Is there a way to c# office add-in for mac? My requirement is to have a simple utility to add comments(read from user) to the selected text in the current word document. Also need the functionality of th...

docx "File is corrupt" error in Microsoft Word

I wrote a program, which open docx package and changes some <w:t>-text in "word/document.xml". When i open new generated docx in Microsoft word, it gives me an error — "file is corrupted". But if look in "Open XML SDK Tool" diffs between template docx and result docx files — there is only two line changed in "word/document.xml". Look at ...

Python to control macros in mutliple instances of Excel.

How Do control with python multiple instances of Excel. This is not read/write, but more running macros on different workbooks. Ex: Excel.exe running Book1.xls. has mac1 Excel.exe running Book2.xls. has mac2. I got one instance to work, this first instance, which use 2003. I could not figure out the other instance which is 2007. I...

Upload File via Excel AddOn

Hi, I need to develop a Add on for Excel (2003 and greater), it must upload the excel file when click the Save Button (with the event Application_DocumentBeforeSave). My question is how can I do that? I try with Net.WebClient UploadFile and runs OK on WinXP but doesnt work on Windows Vista and Windows 7, may be the UAC or some securi...

Office 2007 PIA registry entry installed indication

I must install Office 2007 PIA as a prerequisite along with my Office 2007 add-in. The bootstrapper I am using requires me to specify a registry entry to be checked if prerequisite is installed or not. Normally, various packages set Installed DWORD value to 1 in some registry path to indicate that a package is installed. Which registry...

How do I detect in C# whether or not a Word instance has the Save as PDF or XPS add-in?

I am using Visual Studio 2010 with Visual Studio Tools for Office installed. I will be interfacing with Word through its PIA. My target Word version is at least 2003. Muhimbi has informed me that Save as PDF isn't available in 2003 so what I would like to do is check if it's available in the version installed (2003 and later) and then...

(.NET) What classes implement Microsoft.Office.Interop.Outlook.TimeZone

I'm having trouble finding any classes that implement Microsoft.Office.Interop.Outlook.TimeZone. Do any such classes exist? ...

Word 2007 VSTO wants to intercept certain document changes

I have developed Word 2007 VSTO in VS2010 using C#. I want to be able to receive notifications about some of Document's collection changes, e.g. InlineShapes. I am also eager to intercept (be notified of) Insert/Picture or when a file is being dragged and dropped onto a Document. Is that possible? I have spent a significant time looking...

Use Office 2000 proofing tools in Access 2010 Runtime

I am using Access 2010 Runtime to run my custom database application. Office 2000 professional is also installed on the same machine. I use DoCmd.RunCommand acCmdSpelling a couple different place to perform a spell check on the data entered. This works great on the full version of Access 2000 but when I open it up in 2010 Runtime I get ...

How to add / create a custom field over the Outlook Object Model

Hi, i'm developing a plugin which analysis every incoming email on the fly. Gathered information from the this process I need to display in a custom created column (over Outlook i can do that with the field chooser but only available fields). The question is now how the heck I'm able to add this. I searched the web for the past 2 hou...

Extracting flash object from word doc through openxml using c#

Hi, I want to extract a flash object from a word doc using OpenXml.I have done it other way round but it is not working as, if there are many flash objects then the processing time got hampered and henceforth i think openxml is more suitable>please someone help me in doing the same .I am coding in c# ...

Unlocking range of cells in excel selected by cellname Office 2007

I have 3 cells which are merged with each other and are referenced to with a given cellname (for example "foo"). I now want to unlock these cells with the locked attribute. The lock in the following code will not work, but the value will be successfully assigned to the cell: Workbooks(loadedSheetName).Worksheets("foo").Range("bar").Lo...

User-defined type not defined for AppointmentItem in Excel

I copied example at http://support.microsoft.com/kb/220595 to the VBA in Excel. My code follows: Dim olApp As Outlook.Application Set olApp = CreateObject("Outlook.Application") Dim olAppt As Outlook.AppointmentItem Set olAppt = olApp.CreateItem(olAppointmentItem) I obtained the following error on the line Dim olAppt As Outlook.Appo...