Questions tagged [officedev]

This generalized tag is used for any MS Office related development. You can include this tag if you automate, extend or customize Office, create apps, COM libraries, dlls, add-ins, etc. It is expected that questions about Office development relate to specific programming problems.

Anything related to MS Office development can be tagged with the tag.

Consider adding the below tags as additional tags to your question or select more appropriate tags to the content of your question.

Additional resources

93 questions
1
vote
1 answer

EWS SearchFolder does not return values from body

I am trying to create a SearchFolder using the EWS API (managed or web service directly). I noticed that I if I create a SearchFilter.ContainsSubstring on the ItemSchema.Body, I do not get any conversations from it. here is how I create my…
Noam Gal
  • 3,315
  • 3
  • 36
  • 53
1
vote
1 answer

How do I get my console app to have update access to my Sharepoint Online site?

In Module 2 of the MVA course Building Blocks and Services of the SharePoint Platform titled ‘Deep Dive into SharePoint Lists for Data Storage’ (at about 45 minutes in) Ted Pattison did a demo of using a console app to create a list on a SharePoint…
RussGove
  • 322
  • 5
  • 18
1
vote
2 answers

Will the Microsoft Office Information Bridge Framework Work With Office 2010?

I have inherited an application built using the Microsoft Office Information Bridge Framework 1.6. My task is to make this application work with Office 2010. I am testing this on a computer with the Office 2010 beta installed, including .NET…
Amy T
  • 608
  • 8
  • 14
1
vote
0 answers

Angular Custom Validation does not work in SharePoint Hosted App

I have written this code inside of a sharepoint hosted app

{{webtitle}}

Knows Not Much
  • 30,395
  • 60
  • 197
  • 373
1
vote
1 answer

Range.address does not match range.cell[0] address

I am developing a VSTO plugin for Excel 2013 using the Office Development Tools for Visual Studio 2012 released in November 2012. I have a reference to a worksheet and I am trying to access the value of the cells within a range. This should be a…
Jeremy
  • 502
  • 2
  • 9
1
vote
2 answers

Selecting Office 2003/2007 COM Object (Correct One) in Winforms Application

We are creating a Windows Form application (C# or VB.NET) that needs to reference an Office 2003 or Office 2007 COM object, depending on the version of office installed. What is the best way to handle this scenario and reference the correct COM…
Dave Johnson
  • 782
  • 1
  • 7
  • 17
1
vote
2 answers

VS2010 for Office Development

I have Visual Studio 2010 Professional however it seems as though I cannot open/create Office Projects. I assumed there must have been something wrong with my install and a feature wasn't added. However whenever I go into my Maintenance Mode for my…
1
vote
1 answer

PowerPoint Programming: Issues while trying to access ruler margins

I am trying to access the indentation levels of various bulleted list items. So I created a simple function: private float[] findIndentSpacing(TextRange t, int level) { if(level == 1) { RulerLevel rl = t.Parent.Ruler.Levels(2); …
Parris
  • 17,833
  • 17
  • 90
  • 133
0
votes
1 answer

Import all images in a selected file instead of selected images only

How can I change the linked macro to insert all images in a target folder instead of all selected images? https://www.msofficeforums.com/drawing-and-graphics/49547-automate-insertion-multiple-images-into-document.html I was able to use the above…
0
votes
1 answer

Office Add-In for Outlook not sideloading on the app

I have created an custom outlook add in. When I side load it on using the website it works with no issues. When I go into the Outlook app and try to side load, it will install but not show up on the task pane. Is there a reason for this? Thanks!
0
votes
1 answer

Office Outlook Add-In resizing taskpane

Is there a way to resize a custom Add-In? I am creating a custom add-in for outlook and would like to make the width bigger. Thanks!
0
votes
1 answer

How to get the OnAppointmentAttendeesChanged LaunchEvent

I want to get the Appointment Attendee change, Time change event in outlook calendar. https://github.com/OfficeDev/office-js-docs-pr/blob/master/docs/outlook/autolaunch.md I have referred this document. I'm able to get the OnNewMessageCompose,…
0
votes
1 answer

SharePoint PnP AuthenticationManager login with current user

I am developing .NET VSTO Addin, and would like to publish natively to Sharepoint Online using the SharePoint PnP library. It is not clear to me how to use the AuthenticationManager to get a ClientContext using the current logged in user's Azure AD…
0
votes
1 answer

Installing Visual Studio Tools for Office System

I have VS 2008 Standard and I'm trying to open a project that is a plug-in for Outlook, the project fails to load showing the message "C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\Office …
Jade M
0
votes
1 answer

How to load html content in ScriptEditorWebpart in modern Sharepoint page using OfficeDevPnP?

I have added ScriptEditorWebpart in modern Sharepoint page using C# code. Now I want to load html content in ScriptEditorWebpart and Save by C# code using OfficeDevPnP. Any help will be appreciated.
Rahul Kumar
  • 65
  • 3
  • 11