Questions tagged [office-2010]

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

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

It comes in a variety of bundles, including but not limited to:

  • Microsoft Office 2010 Home and Student (for academic use)
  • Microsoft Office 2010 Professional
  • Microsoft Office 2010 Standard
  • Microsoft Office 2010 Enterprise

Each one comes with a different suite of programs.

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

Related Tags:

Links:

254 questions
9
votes
1 answer

Get a CheckBox in Word using OpenXML

How does one get a handle to a CheckBox control that's embedded in a Word document using OpenXML? You would think that either Paragraph.ControlPropertiesPart or Paragraph.Descendents() would achieve something but in every single case I get a null…
Phil.Wheeler
  • 16,748
  • 10
  • 99
  • 155
8
votes
2 answers

VBA Pass arguments with .onAction

this is how my sub looks like: Sub InsertRowWithContent(rowNo As Long) This is my .onAction: .OnAction = "'InsertRowWithContent""" & C & """'" C is a Long variable declared earlier. It says macro not found. It worked fine before adding an…
justry
  • 173
  • 1
  • 1
  • 8
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
3 answers

Will VSTO add-ins developed for Office 2007 work in Office 2010?

Are the VSTO add-ins that were developed for Office 2007 compatible with Office 2010? If not, what would need to be done to upgrade them to run in 2010?
CoderDennis
  • 13,642
  • 9
  • 69
  • 105
6
votes
2 answers

How do I create securely password protected .xls files in Excel 2010 from VBA

I found that in Excel 2010 (and 2007), when you try and choose one of the more secure types of encryption, it seems to silently ignore your settings, leaving you with a file that can be cracked in seconds at decryptum for example. This does not…
user533832
6
votes
2 answers

Add controls to existing ribbon group in Office (VSTO)

I find numerous examples on how to add a new group to an existing ribbon, and this works just fine. What I cannot figure out is how I can add new controls to an existing group on an existing ribbon. Say I want to add my own command to the "Proofing"…
Mikael Svenson
  • 39,181
  • 7
  • 73
  • 79
6
votes
3 answers

Visual Studio 2015: Create VSTO project for Office 2010 and above that targets .NET 3.5

Is it possible to create VSTO project for Office 2010 and above that targets .NET 3.5 in Visual Studio 2015? When I try to create it I don't see any project templates: If I change version of .NET Framework to 4.0 or above then I can see project…
Vladimir Almaev
  • 2,358
  • 1
  • 28
  • 38
6
votes
3 answers

How can I duplicate a row in a Word table?

I am trying to duplicate a table row in Word, using VBA, without using the Selection object or the clipboard. That is, I want a new row that has the same content as an existing row. To do this, I first create a new (empty) row, and loop through each…
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
6
votes
3 answers

How can I add a macro to a Word 2010 or PowerPoint 2010 chart?

In PowerPoint 2010 or Word 2010, when I choose Insert -> Chart, it creates a new chart with an Excel worksheet for the data. If I add a macro to the Excel worksheet, this seems to be discarded when I close the worksheet and re-open it. However, it…
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
6
votes
4 answers

Set custom document properties with Word interop

I want to set some custom document properties of a word document I'm creating in my C# code. To do this, I followed this MSDN article and came up with this code: using Word = Microsoft.Office.Interop.Word; // Version 12.0.0.0 word = new…
F.P
  • 17,421
  • 34
  • 123
  • 189
6
votes
6 answers

Is it possible to prevent MS Access from changing the selected ribbon tab automatically when using a custom ribbon?

When a custom UI XML file is used to add several custom ribbon tabs in Access, the selected ribbon tab changes back to the first custom tab whenever a form is closed. We load a custom ribbon programatically from VBA. I've create an accdb that…
Olly
  • 5,966
  • 31
  • 60
5
votes
5 answers

"Outlook blocked access to the following potentially unsafe attachments"

Recently, we have some users which suddenly got this massege: "Outlook blocked access to the following potentially unsafe attachments" (outlook 2010 plus) I had tried all of this:…
Itzik
  • 107
  • 1
  • 3
  • 11
5
votes
4 answers

Word automation does only work for administrator, or with a delay after creating word.application

We have a program made in Borland Delphi that uses Word automation to create documents. On an installation (terminal server) we are only able to get the Word automation to work when running as local administrator. When runnnig as anoter user we get…
Mike
  • 63
  • 1
  • 8
5
votes
2 answers

Where should addins for Office 2010 put their Options GUI? (and how?)

Up until Office 2007 it was common for addins to add a tab page to the main Options dialog (Tools|Options) where users could configure the addin's settings. While this essentially still works in Office 2010 the way it is implemented seems like a…
Oliver Giesen
  • 9,129
  • 6
  • 46
  • 82
5
votes
3 answers

Phantom Keytip conflict in Microsoft Office 2010 Ribbon Custom UI

I'm trying to create a custom ribbon in one of my Excel 2010 addins, and for some reason Office is overriding some of the keytips (keyboard accelerators). I know if Office sees a conflict it will usually override one or both of the keytips to "Y",…
aFlocker
  • 53
  • 1
  • 5
1
2
3
16 17