5,952 questions
0
votes
0
answers
111
views
Office JS displayDialogAsync Error : TypeError TypeError: Cannot read properties of undefined (reading 'register')
I'm developing a webAddin on Excel and I'm having an issue, I have a taskpane that opens from the button in the ribbon, but I wanted to change to a Display, I have this code in the commands.js
...
1
vote
1
answer
46
views
Outlook classic (vsto): Identifier of context menu of appointment in reminder window
I would like to add an item to the context menu of an appointment in the reminder(s) window in outlook classic:
Is this possible in a VSTO add-in, and if so, what is the identifier of the context ...
0
votes
1
answer
53
views
How do I place a tab stop exactly at cursor?
Is there a built-in or VBA method to place a tab stop at the exact location of the text cursor?
I've tried digging through documentation, but I can't figure out how to get the text cursor location.
I ...
0
votes
0
answers
239
views
Is it possible to sideload Office web extension manifest.xml in production mode?
I am developing an Office Add-in using Office.js. This new extension will be a re-implementation of an old COM Office extension. The problem I am facing right now is how to install the extension for ...
0
votes
1
answer
72
views
File using Office XML Schema no longer reliably opened by Excel
For many years I have been exporting HTML tables from my web app and downloading them as XSLX so that they will be opened by Excel.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "...
0
votes
0
answers
65
views
word 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable
I have a problem with Microsoft Word on the web app. I used to be able to export my files to PDF and download them. However, now I can't do it. This problem has been going on for 3 days. I can still ...
1
vote
2
answers
92
views
Get new named cell with Excel JS API
We're using Excel JS API to get changed on worksheets.
Is there an event to get new named cells?
The only way that I see is to store the named cell collection (using NamedItemCollection) & compare ...
0
votes
0
answers
94
views
Microsoft Office Ribbon Custom Tabs not working
We have a Office (M365 Apps for Enterprise) Environment.
Usually I was deploying simple Ribbon customizations for Word with the "Word.OfficeUI" file under C:\users\bla\AppData\Roaming\...
0
votes
2
answers
109
views
Excel. How to get an one row data (multiple columns) from every three rows
Please need your help.
I have an excel file with this following structure, that one row is divided into the next two rows:
initial
And need finally get this one. Every third row need to be combined ...
0
votes
1
answer
69
views
Excel script for generating pivot tables without subtotals
I have a script that creates a pivot table, but I don't want to display subtotals, only final totals.
function main(workbook: ExcelScript.Workbook) {
let sheet = workbook.getActiveWorksheet(); // ...
0
votes
0
answers
73
views
Office.context.mailbox.item.saveAsync fails during OnSend function on Outlook for web/New Outlook
I have an Add-in created for Outlook Web which adds headers to emails in order to send them securely. It operated both through Task Pane and on the OnSend functionality of Outlook Web.
When pressing ...
-1
votes
1
answer
180
views
Office Script return multidimensional array
Can you help me, how can i return a function in office script that returns an array with: a mail, and 2 array of row ranges:
the return i need is (if possible )
[["[email protected]"],["...
0
votes
0
answers
82
views
Trying to make a basic auth API call from Office Script
Using this and it fails to fetch. Where am I missing it?
async function main(workbook: ExcelScript.Workbook) {
const response = await fetch('https://postman-echo.com/basic-auth', {
method: 'GET',
...
0
votes
0
answers
33
views
"Powerpoint error saving file" when saving to Apache WebDAV
I have my own WebDAV server using Apache2 on Debian 12. I connected it as a Network Drive in Windows and created a Powerpoint file on it. When I manipulate that file and try to save it afterwards, the ...
2
votes
1
answer
588
views
Opening MS Office URI getting not allowed due to Restricted Site
I am trying to use a MS Office URI which will automatically open Excel 2016. I am using a URI similar to:
ms-excel:ofe|u|<https://localhost:7068/getOfficeFile?fileName=2021_12_06_Metrics.xlsx>
...
0
votes
1
answer
87
views
tcom tcl: Error when trying to add hyperlink with link of length more than 255 characters [duplicate]
I am running following script on windows 10, with TCL8.4 and tcom installed. I have Excel 2016 and empty excel file 'clone.xls'.
I am trying to create a hyperlink with link of length 256 characters ...
0
votes
2
answers
184
views
Developing a word library add-in for office 2024
i'am trying to develop addin for word 2024.
I have created a dummy dll like this:
#include <Windows.h>
extern "C" int WINAPI wlAutoOpen(void);
extern "C" int WINAPI ...
0
votes
1
answer
120
views
Export Selection in Microsoft Visio to picture file using VBA
I am having a MS Visio diagram. Often I need to export the part of the drawing to a picture file to use it somewhere else, but I am really tired of using menus.
I want to export some selected elements ...
2
votes
0
answers
61
views
How can I tell whether or not user has the new MS Office visual style?
I make a c# add-in for an MS Office desktop app. It uses WPF for front end UI. I want the background of the forms in the add-in to match the Office app colors.
Microsoft recently launched a brand-new ...
0
votes
1
answer
76
views
Excessive scrolling speed in edit mode
I've been experiencing an issue with Office Online Server:
When using edit mode, the scrolling is excessively fast compared to read mode. This makes it nearly impossible to highlight any text near the ...
0
votes
1
answer
107
views
How to write txt file at same file path but preventing window to update notepad display
I like to show string in notepad for easier debug purpose.
I have been used the following VBA codes to display string for years. I use office 2021.
Public Sub writeTxt(ByVal sOri As String)
Const ...
0
votes
1
answer
78
views
How can I make my simple PowerPoint Add-In available to other people?
A friend asked me to develop a simple PowerPoint (365) Add-In since they couldn't find a suitable one in the Office Store.
I opted to create a Web Add-In in Visual Studio, which is working fine when I ...
0
votes
1
answer
47
views
How can I use Office JS add-in to track the coordinates of a shape in PowerPoint?
When I use Office JS (JavaScript API for Office) add-in to track the coordinates of a shape in PowerPoint as it moves but I didn't get any coordinates over slides, I guess we can use the Office ...
0
votes
0
answers
58
views
How to "Evaluate" column of a table within a COUNTIFS()
I have a table (real table, not just looking like one) with multiple columns, one called Date Created and the contents are in the format, e.g., 3. Juni 2023 16:09:12 MESZ.
My goal is to count all ...
0
votes
0
answers
190
views
How to use a custom authorization server for MS Office with OAuth2?
I am implementing a WebDav server and struggle with adding proper OAuth2 support to allow MS office applications to access files directly.
I followed this answer to get the workflow started. Let's say ...