Questions tagged [office-2007]

For issues relating to Microsoft Office, version 2007.

Microsoft Office version 2007 is a suite of programs for office productivity.

It was released in 2007 and comes in a variety of configurations, including but not limited to:

  • Microsoft Office 2007 Home and Student (for academic use)
  • Microsoft Office 2007 Professional (includes Microsoft Access)
  • Microsoft Office 2007 Small Business

Each one comes with a different suite of programs.

It is expected that questions about Office 2007 relate to a specific programming problem. Use the tag for the programming language you are using to target an Office 2007 program, as well as the tag of the specific Office 2007 program.

Related Tags:

Links:

322 questions
13
votes
2 answers

How to add multiple recipients to mailitem.cc field c#

Oki, so im working on outlook .msg templates. Opening them programmatically, inserting values base on what's in my db. ex. when i want to add multiple reciepients at "To" field, instead of doing as following, mailitem.To = a + ";" + b + ";" +…
Mana
  • 1,925
  • 6
  • 39
  • 55
11
votes
1 answer

Is there a way to develop custom SmartArt?

Is there a way to develop custom SmartArt for PowerPoint. I'm not looking for a way to develop "fake" smart art, like add a bunch of shapes and then group them and copy/paste between presenations. I'd like to create a number of new SmartArts that…
Meihua
  • 241
  • 1
  • 9
  • 22
11
votes
4 answers

Programmatically configuring MS-Word's Trust Center settings using C#

I have developed a simple C# Winforms application that loads MS-Word 2007 documents via COM automation. This is all very simple and straight forward, however depending on the document I need to programamtically Enable or Disable Macros as well as…
Jeroen Ritmeijer
  • 2,772
  • 3
  • 24
  • 31
10
votes
3 answers

Microsoft Office interop performance issue

I am try to exporting datagridview data to excel file in my C# 4.0 Windows application. we used Microsoft.Office.Interop.Excel dll version 12.0.0.0. It's works well and everything is fine. But i when i try to export more than 1000 datagridview…
Ragesh P Raju
  • 3,879
  • 14
  • 101
  • 136
10
votes
4 answers

How to save ImageMSO icon from Microsoft Office 2007?

I found a lot of nice icons from Microsoft Office 2007. Do you any idea for extract & save all icons as PNG files by using VBA? Partial ImageMSO…
user94893
9
votes
1 answer

Excel 2007 VBA - Using Sheets.Add to create a chart at the end of a workbook

I'm trying to implement a private subroutine to add a Sheet to the active workbook (Sheet being used so that one can choose to add xlForms, xlWorksheet, etc). But I'm having a bizarre problem with where new charts get created relative to the other…
Human-Compiler
  • 11,022
  • 1
  • 32
  • 59
9
votes
2 answers

Can I use VS 2012 to create an Office 2007 add-in?

This would suggest not: http://msdn.microsoft.com/en-us/library/ee519072(v=vs.110).aspx But, but... really? Office 2007 is still ubiquitous - surely they've not dropped support for it already? I need to support it, and it seems like this would mean…
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
8
votes
4 answers

Open XML SDK to edit Active document

Is it possible to use the Open XML sdk to manipulate parts of document which is currently open in the Office app (word/ppt). I know the easiest thing is to use VSTO, but its slow and would involve clipboard use to insert elements, the OXML sdk is…
user240282
  • 127
  • 1
  • 6
8
votes
8 answers

How to fall through a Select Case in Excel VBA?

Given Select Case cmd case "ONE": MsgBox "one" case "TWO": MsgBox "two" case "THREE": MsgBox "three" End select My requirement is if cmd = "ONE" I need "one" and then "two" displayed however currently I am getting "one"…
Kevin Boyd
  • 12,121
  • 28
  • 86
  • 128
8
votes
7 answers

reading docx (Office Open XML) in PHP

I want to add an word import function to our CMS, the only problem I cannot seems to find a good library for reading docx files (Word 2007). Do anyone has some recommendations, the library should be able to extract content of the document and basic…
RageZ
  • 26,800
  • 12
  • 67
  • 76
7
votes
4 answers

Working with Office "open" XML - just how hard is it?

I'm considering replacing a (very) large body of Office-automation code with something that works with the Office XML format directly. I'm just starting out, but already I'm worried that it's too big a task. I'll be dealing with Word, Excel and…
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
7
votes
2 answers

Get text above table MS Word

This one is probably a little stupid, but I really need it. I have document with 5 tables each table has a heading. heading is a regular text with no special styling, nothing. I need to extract data from those tables + plus header. Currently, using…
user194076
  • 8,787
  • 23
  • 94
  • 154
7
votes
2 answers

Primary Interop Assemblies for Microsoft Office Applications

I'm trying to install Interop Assemblies for Microsoft Office on my web servers, for the use of reading word documents from my site. Can I install just the Assemblies? Or the only way is installing an office suite? The exception : Could not load…
Shlomi Komemi
  • 5,445
  • 3
  • 28
  • 41
7
votes
1 answer

nicely reading outlook mailitem properties

I am writing a plugin for outlook 2007 and i would like to read a property of a MailItem. In particular i'd like to know all the content-types of my attachments. Now the way i do this now is something like this: Outlook.MailItem item = OutlookItem…
Bram
  • 765
  • 1
  • 6
  • 14
7
votes
3 answers

Excel automation: PDF export causes "Printer setup" popup

I am developing an application for automatic Excel to PDF generation. Every now and then (and without any apparent cause, the following popup comes up while the program runs: Print driver host for 32bit applications stopped working. and, shortly…
F.P
  • 17,421
  • 34
  • 123
  • 189
1
2
3
21 22