Questions tagged [office-2016]
145 questions
11
votes
2 answers
Upgrading to Office 2016 Reference Error: Microsoft.Office.Interop.Excel
Visual Studio 2015 is giving me an error stating that the "Namespace or type specified in the Imports 'Microsoft.Office.Interop.Excel' doesn't contain any public member or cannot be found." I just started getting this error after upgrading to Office…

Fly Guy
- 255
- 1
- 4
- 12
9
votes
2 answers
Access 2016 sizable form borders too narrow under Windows 10
I don't know if this is a general problem with Office 2016, or if it is specific to Windows 10 users, but I find that sizable MDI forms in Access 2016 have a single-pixel border that is very hard to grab with the mouse.
The form borders show as a…

Billious
- 2,563
- 4
- 21
- 26
7
votes
1 answer
Excel Add In - Where does console.log output it's message - NodeJS
I am trying to create an Excel AddIn with JavaScript API. But I don't understand where "console.log" outputs their messages. All Microsoft documentations are full with console.log examples, but it is not explained where console.log() outputs the…

csskevin
- 383
- 2
- 14
7
votes
3 answers
'FileDialog' type is not defined in MS Access
In Access 2016, I wish to display the File Open dialog, allowing users to select a CSV file to import. However, an error is being generated in relation to the line Dim FD as Office.FileDialog -
Compile error: User-defined type not defined
The…

David Gard
- 11,225
- 36
- 115
- 227
5
votes
1 answer
How to change the language of a single document in Excel?
My MS Office and Excel language is English. I am working with English documents most of the time, so I want to keep it that way. Temporarily changing the language options is also not an option.
When I am working with documents in other languages,…

Corbie
- 819
- 9
- 31
5
votes
1 answer
Export Excel print area as an image
I have an Excel file (xlsm) and I would like to export the print area (in full size) as an image (png or any other picture file format).
I have a VBA macro, that worked fine on several PC’s in Excel 2013, but since we work with Excel 2016 it only…

Zsmaster
- 1,549
- 4
- 19
- 28
4
votes
0 answers
Office.js: How can I debug ExecuteFunction commands
I have a command button on a custom ribbon in Excel with an action of type ExecuteFunction which calls a global javascript function in a function file I point to.
Everything works as expected when running things locally, but when I run the same code…

cs_pupil
- 2,782
- 27
- 39
4
votes
4 answers
MailItem.GetInspector.WordEditor in Office 2016 generates Application-defined or object defined error
I wrote an Excel macro to send email from a spreadsheet. It works on Office 2013, but not Office 2016.
I looked at the VBA differences between Office 2013 and 2016, but couldn't see anything about changes to the inspector or word editor for message…

Falthazar
- 85
- 1
- 1
- 10
4
votes
2 answers
Office 2016 share button IdMso
I'm trying to disable the new share button on the top right corner of the Office 2016 apps.
Does anyone know the correspondent IdMso? I've tried to locate the IdMso tables but I only find tables for the previous versions of Office.

RicardoSBA
- 785
- 1
- 6
- 18
3
votes
2 answers
Save email body to Word document
My goal is copy and past body of active email from Outlook to the MS Word, and save Word to specified destination.
Code
Dim objMail as Outlook.MailItem
Dim objWord As Object
Dim objDocument As Object
Dim objFSO As Object
Dim objTextStream As…

Novice
- 363
- 10
- 32
3
votes
2 answers
How to programmatically wrap a QueryTable in a ListObject?
Historically external data queries in Excel were expressed with QueryTables.
ListObjects appeared at some point, but they were not yet compatible with QueryTables and could not contain them.
In Office 2007 they became not only compatible, but the…

GSerg
- 76,472
- 17
- 159
- 346
3
votes
1 answer
Keep Outlook 2016 Task Pane open when switching emails
I have a custom task pane for Outlook 2016 written in JavaScript and HTML. I am currently calling an API and passing the email address to get some data back. I then display this data in the Task Pane inside Outlook.
After searching for a solution…

Samuel Pearsall
- 445
- 1
- 5
- 11
3
votes
1 answer
Create Task Pane Office Add-In for Outlook 2016
I am trying to create an add-in for Outlook 2016. In previous versions of Office, this was done using a WinForms UserControl and was fairly simple. However, there are now universal templates in Visual Studio 2015 for an Office Add In, which I would…

Samuel Pearsall
- 445
- 1
- 5
- 11
3
votes
1 answer
Excel 2013 Pivot table won't change current page until navigated to manually
We have a little piece of VBA code that worked perfectly for ages. It was essentially:
Me.PivotTables("APivot").PivotFields("AField").CurrentPage = "Some text"
This worked until Excel 2013, where the line would fail with an unspecific…

GSerg
- 76,472
- 17
- 159
- 346
2
votes
0 answers
Office URI - doc opened in read only mode
I have a word document that sit in a website in my iis,
When i opening the document with office uri from js like this :
window.open("ms-word:ofe|u|http://WSBJRM:8090/test/abc3.docx"),
the doc opened in word but in read only mode,
that cause that…

Developer
- 460
- 4
- 17