Questions tagged [office-2016]

145 questions
2
votes
0 answers

Experiencing a ~10s delay when closing Excel or Word 2016 after using an ElementHost in my vsto code, how to a avoid it programmatically?

I'm developing a VSTO add-in for PowerPoint, Excel and Word. It has some Windows and Custom Task Panes that use winforms. I've noticed that if add an ElementHost to one of these forms component and display it at least once, I will experience a 5 to…
misterfrb
  • 305
  • 2
  • 10
2
votes
1 answer

Form.Show() doesn't work for 1 specific computer

I am developping an Excel addin in C#. This addin contains panels with some buttons to open hovering Forms. I have been notified that this feature doesn't work anymore with one computer in my company. It uses Excel Office 2016 to the latest…
Cedt
  • 251
  • 1
  • 14
2
votes
0 answers

Owc 11 and Microsoft office 365

I am having an unique issue and unable to find any resolution online. My company is using an application which uses Pivot table and chart controls from Microsoft office 2003 web components ( OWC 11 ) It worked fine till we use 32 bit version of…
user1615089
  • 21
  • 1
  • 5
2
votes
1 answer

How to implement the Dialog API in Office Add-ins with angular2?

I want to implement oauth in my office add-ins for that I found office js dialog api and go through it and found it is interesting. My concern is that I want to implement it with angular 2 so I am not able to make good flow of that. Expected Result…
2
votes
2 answers

After deleting WebExtensionPart from WordprocessingDocument document get corrupted

I am new to open xml sdk and i haven't much idea on how relationship work for wordprocessing document. I want to remove webtask-pane from my existing document which contains webtask-pane and its added through programmatically. After deleting…
2
votes
0 answers

How to write a 'field' as link in microsoft word addin using javascript API

I would like to have a javascript (Microsoft Word-API) equivalent code of the following C# code snippet: Field field = Application.ActiveDocument.Fields.Add(Application.Selection.Range, WdFieldType.wdFieldLink, LinkText); if (field != null) { …
2
votes
1 answer

Can't refresh webquery in Excel 2016

Since a few weeks I am using Office 2016 and I have a few Excel spreadsheets that collect data from my own webservice using a web query. As you can see, the webservice has the right properties in the connections dialog: When I refresh, I always get…
2
votes
1 answer

How do I get an full Excel range address using row and column numbers in office.js Excel Addin?

Next example gives me "Sheet1!C3": Excel.run(function (ctx) { var sheetName = "Sheet1"; var worksheet = ctx.workbook.worksheets.getItem(sheetName); var cell = worksheet.getCell(3,3); cell.load('address'); return…
Alex K
  • 2,613
  • 1
  • 20
  • 31
2
votes
1 answer

Is there any way to get call back from powerpoint, when any presentation opens? (Powerpoint 2016- Mac version)

I need to open my OS X application when any powerpoint presentation opens. I got VBA call back when powerpoint open (Auto_Open()). But I need a call back for each presentation open. In windows we can open each presentation in separate powerpoint…
Sivaprasad Km
  • 712
  • 4
  • 15
2
votes
1 answer

Word Add-in not creating buttons in the ribbon

I'm working on an Office 2016 & Office 365 add-in using javascript and an XML manifest file. When I load the manifest in word online, everything works as expected. It creates a tab, and places buttons on that tab that call a function in the…
Ryan Andrews
  • 75
  • 10
2
votes
1 answer

Sync Sharepoint with Office 2016

At our company we have a SharePoint 2013 installation. Before when I was still running Office 2013 I could install the OneDrive for Business client which allowed me to sync my SharePoint Documents to my local PC. I recently upgraded to Office 2016…
2
votes
1 answer

How to remove the border for table in excel using office.js api

I have created a table using office api, and i dont want to have any style on it. by default when table is created using office api, i see default table style is applied, i just want plain data. to workaround that 1. I tried to change the border…
shyam_
  • 2,370
  • 1
  • 27
  • 50
2
votes
2 answers

whats the alternative to user defined functions in excel online office.js javascript lib

I am trying to develop the office excel add-in, similar to one i had for office 2013. in that i was using user defined function created using "VBA" and could fetch the data in the cells. The advantage i had was 1. if i close my excel file and open…
shyam_
  • 2,370
  • 1
  • 27
  • 50
2
votes
1 answer

ClosedXML Add WorkSheet with Conditional Formatting

I am using ClosedXML to add new worksheet to existing Excel document. It works fine for normal Excel document. But if a excel document sheet contains conditional formatting on some cell then it throws error at…
2
votes
1 answer

Can I create a VSTO outlook addin targeting .net framework 4.6.1, which runs on all office versions from 2007 to 2016?

I have an outlook addin developed with VS 2008 and for 3.5 framework.Now, I want to upgrade it to latest framework(4.6.1).But when I tried to create an office project in VS 2012 targeting 4.6.1 framework.It only showed me office 2010 template.So, is…
V K
  • 1,645
  • 3
  • 26
  • 57
1
2
3
9 10