OneNote Interop API UpdatePageContent changes lastModifiedTime of unmodified child elements
C# with .NET Framework 4.8, OneNote 16.0.15726.20188 64-bit Using the Interop API, IApplication.UpdatePageContent(xml, lastModTime, XMLSchema.xs2013, true) Given a page with one Outline and two OE paragraphs where each OE paragraph was…
OneNote Interop API UpdatePageContent breaks Spell Checking
C# with .NET Framework 4.8, OneNote 16.0.16924.20150 64-bit Using the interop API, IApplication.UpdatePageContent(xml, lastModTime, XMLSchema.xs2013, true) Given a page with an OE paragraph, where the user selects a run of text, not including the end of…
OneNote Interop API NavigateToUrl fails if called again too quickly
C# with .NET Framework 4.8, OneNote 16.0.15726.20188 64-bit Using the Interop API, IApplication.NavigateToUrl(pageURL) Invoke once with a valid page URL, it succeeds Invoke again (within about two seconds) with a different valid page URL, it…
How to know if document or mail configured with sensitive labels?
We want to verify if document or mail is configured with sensitive label information before reading content through Office JavaScript API.
Unable to sign in to microsoft 365 dev error code 41101
Hello! I'm unable to access the dashboard at this time. I'm encountering a login error: Error Message: We're unable to sign you in with this account. The sign in was unsuccessful. For details, see the Microsoft 365 Developer Program…
Error When Pressing "Send Code" During Microsoft 365 Developer Program E5 Subscription Creation
After an 18-month hiatus from development, during which my Microsoft 365 Developer Program E5 subscription was deleted. I am attempting to create a new E5 sandbox. When I press the "Send Code" button while completing the "Add phone number…
How to integrate Auth0 login on Desktop Office apps (in an Addin)
Hello, I am currently developing an Addin for Word and it is difficult to finish it because the SSO (Auth0) is working well on the web version and my plugin works wonders however I cannot login on the Windows or Mac version of Word because of the url…
Our add-in stopped working on Outlook for Windows New
Our add-in (here) has suddenly stopped working on Outlook for Windows New: no task pane opens when we click the add-in icon. This affects both versions installed from App Source and as sideload. We have also tried old versions of our code which we…
Excel VBA Error with user access Permission.Add
Hello, I wrote the following Excel Macro to assign user permission to the Excel file. Sub Add_Permission() Dim objUserPerm As Office.UserPermission Set objUserPerm = ActiveWorkbook.Permission.Add("test@test.com", msoPermissionChange) …
VSTO Excel Com Add-in using Visual Studio 2022 and Office 64 bit vs 32 bit installer
I have a VSTO Excel Com Add-In that uses a webviewer. 64 Bit installer Excel 2021 64 Bit, Shows in menu bar and shows the webviewer control when installed. Excel 365 64 Bit, Shows in menu bar BUT does not show the webviewer control when…
How to automatically move/copy outlook incoming and outgoing messages for a specified mailbox to a shared network folder?
We have a group that is managing certain Outlook shared mailboxes and would like to automatically save a copy of the incoming and outgoing messages from a given mailbox as they come in or sent from.
Excel script for filling cells within a specified range with a specific fill color if any cell within the range is selected
Using scripts in Excel (NOT VB macros), I need to be able to fill any cell within a specified range with a specific color if any cell within the range is selected ("clicked on"). Note that the spreadsheet will have different columns that need…
Trusted location error in VSTO clickonce on network drive
Hi, We are publishing vsto-projects via clickonce and have started facing a problem when we references them as described here:…
insertFileFromBase64 causes accumulation of styles
We're working on an add-in for Word that involves opening multiple documents. However, we've encountered an issue: when we use context.document.insertFileFromBase64 to open several documents, the styles from these base64 documents are being…
Problema para printar um Formulario do VBA
Ola, quando eu executo o codigo UserForm1.Printform no meu formulário do vba, ele gera um PDF com um PrintScreen do formulário porem o formulário fica pela metade, alguem consegue me ajudar?
64-bit conversion explanation what to do now?
https://learn.microsoft.com/en-us/previous-versions/office/troubleshoot/office-developer/automate-excel-from-visual-basic-net this does not work I read somewhere else that this is because of the 64-bit conversion and this code sample is written the…
Workbook button for Excel Scripts permission issue : The button cannot run because the script was unshared. Contact the owner to share it again.
I created 3 Excel Scripts , added buttons to the workbook for each script, and shared the excel spreadsheet through Teams, and also the scripts on sharepoint with other folks in my organization. When they opened the excel sheet and tried to run the…
How to setup Excel Interop for Exccel 365
I've been attempting to setup a project that allows me to use Excel Interop in C# on the Office 365 version (I need to create and edit some sheets to automate some tasks from work involving CSV files). However almost every attempt has resulted in the…
Office-Addin MSAL Single Sign In SSO: How to Refresh the Access Token
Hi, I have developed Office-ExcelAddIn using Angular. I am using OfficeRuntime.auth.getAccessToken() to get the taken for api authentication. After 87min the token expires and ExcelAddIn stops working. If I try to use the getAccessToken() method after 87…
Error "The DeveloperEmail field is required." when setting up Graph Data Connect
Hello, I'm trying to set up Graph Data Connection using this tutorial: https://github.com/microsoftgraph/dataconnect-solutions/tree/main/solutions/ona/PreRequisites Unfortunately, I cannot finalize the process, because when I click on "Create",…