Microsoft Q&A

Office Development

3,074 questions

Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
Development: The process of researching, productizing, and refining new or existing technologies.

Browse all Office tags

3,074 questions with Office Development tags

Sort by: Updated
0 answers

Word Does Not Respond When Saving a Macro File

Good morning, I use a mail merge procedure in word (Office 365, but also tried with 2016 version) that ends by running two different macros: one allows saving the mail merge files in a directory; the other also sends an email associated with each file,…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
509 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-13T17:04:14.0966667+00:00
Capano, Vittorio (CREA-AA) 0 Reputation points
edited the question 2023-12-14T01:37:06.35+00:00
Emi Zhang-MSFT 19,131 Reputation points Microsoft Vendor
0 answers

Issue to exclude the row of Excel file

Hi all, To the file (with the macro) below, it cannot filter out those rows (of the sheet A4RemedyDailyReport), having the values like "RQT...", by the code like IsEmpty(...) (on the line 113). What is the…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,110 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-11-24T09:01:08.98+00:00
Peter_1985 2,356 Reputation points
commented 2023-12-14T01:32:24.2833333+00:00
Peter_1985 2,356 Reputation points
0 answers

Lookup with multiple criteria between two sheets

I have two sheets Sales <tblSales> Inventory<tblInventory> In sheet inventory I have14 columns data. But I am interested in column Code. It is auto generated. Like WT-B-1 for same product but if same new stock purchase WT-B-2. It is already…

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
525 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-13T09:06:32.33+00:00
Mansoor Ali 0 Reputation points
commented 2023-12-14T01:30:47.59+00:00
Emi Zhang-MSFT 19,131 Reputation points Microsoft Vendor
0 answers

DoCmd.Runcommand

VBA

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-13T13:30:36.5333333+00:00
Laurenz Schmitt 0 Reputation points
edited the question 2023-12-14T01:02:17.1366667+00:00
Jiachen Li-MSFT 22,106 Reputation points Microsoft Vendor
1 answer

Active Explorer vs Active Inspector Code

The below macro works great with ActiveInspector but I don't know how to write the code for it to be compatible whether it is ActiveExplorer or ActiveInspector as sometimes I like to respond to emails in the folder view: Sub ReplaceWithBoldHTML2() …

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-11-25T07:43:23.91+00:00
Chris Church 0 Reputation points
answered 2023-12-13T22:13:00.6333333+00:00
Eric Legault (MVP) 0 Reputation points MVP
0 answers

Office Scripts freezes Excel online in Edge, M365 GCC tenant

I have been using the Office Scripts on Excel Online; everything has been working as expected until 12-11-23. The Automate tab is still available, but when I select any item on the ribbon menu, Excel stops responding; there is no error message, and MS…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
1,931 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,110 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
760 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-13T21:25:48.08+00:00
PMA 0 Reputation points
edited the question 2023-12-13T21:30:39.6366667+00:00
PMA 0 Reputation points
1 answer

How to auto-populate fields based on the checkbox status in Microsoft Word

Hello, I am trying to auto-populate certain fields in the form based on what was entered in another section IF a checkbox is checked. So for example, if the "Same as Bill To" checkbox is checked, I wanted the name from the Billing Section to…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
509 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-08T20:09:59.71+00:00
Prasasti Baker 0 Reputation points
accepted 2023-12-13T19:25:02.0333333+00:00
Prasasti Baker 0 Reputation points
1 answer

Simulate a click in an IRibbonControl menu

Hello, I have a VSTO project where I have a IRibbonControl object (that is a menu of a RibbonMenu object). I need to perform some actions and then to simulate a click on that RibbonMenu again... that is, to deploy the dropDown menu of that menu. Is there…

Outlook
Outlook
A family of Microsoft email and calendar products.
2,235 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,532 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-06T19:08:34.31+00:00
Pablo Glomby 176 Reputation points
commented 2023-12-13T19:22:37.7333333+00:00
Eric Legault (MVP) 0 Reputation points MVP
1 answer

Deployment of Outlook Addin with customizable manifests

I am currently in the process of developing an Outlook add-in that utilizes the Graph API. In our scenario, each customer may have a different manifest due to distinct configurations in Azure AD, maybe even different server and ports, also different…

Outlook
Outlook
A family of Microsoft email and calendar products.
2,235 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,230 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,197 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-12T18:42:40.0666667+00:00
RZI 1 Reputation point
answered 2023-12-13T16:38:39.32+00:00
Eric Legault (MVP) 0 Reputation points MVP
1 answer

Visual Studio error when trying to create Outlook add-in "Autodiscover service couldn't be located"

I was trying to follow this tutorial on how to create outlook add ins. However when I get the dialog "Connect to Exchange Email Account" and add my account I get an error saying "Autodiscover service couldn't be located." At first I…

Outlook
Outlook
A family of Microsoft email and calendar products.
2,235 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
471 questions
asked 2023-12-12T18:14:22.12+00:00
BrunoT 0 Reputation points
edited the question 2023-12-13T07:42:11.2333333+00:00
ChristyZhang-MSFT 16,996 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Ho to determine if mailitem is encrypted in Outlook 365?

I am writing a VSTO Addin for Outlook 365. I need to be able to determine in code if an email (MailItem) is encrypted. I've tried examining the following properties - both indicate that the email is not encrypted but it clearly is: …

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,532 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,560 questions
asked 2021-07-21T17:27:44.5+00:00
Dan Garkusha 96 Reputation points
answered 2023-12-12T15:58:01.7666667+00:00
Ayers, Chris 0 Reputation points
1 answer

Word new Viewing Editing behavior with version 2308 when using Office URI Scheme

I was directed here after posting this question at Microsoft Answers: https://answers.microsoft.com/en-us/msoffice/forum/all/word-new-viewing-reviewing-behavior-with-version/ac53becb-f1b8-4721-b321-f324b8886a32 Word has a new behavior starting with…

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-10-24T12:29:04.6866667+00:00
Baldwin, John (DTI) 0 Reputation points
commented 2023-12-12T13:43:09.65+00:00
Baldwin, John (DTI) 0 Reputation points
1 answer

Published Outlook Calendar in an Iframe

Hello, About 3 years ago, I placed a published Outlook Calendar into my company's internal web site using an iframe: <iframe src="{{linkToThePublishedCalendar}}" scrolling="no" width="100%" height="700px;"…

Outlook
Outlook
A family of Microsoft email and calendar products.
2,235 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-08-14T15:32:41.4266667+00:00
Outlook Calendar User 20 Reputation points
commented 2023-12-12T12:31:12.56+00:00
Swaminathan Kannusamy 0 Reputation points
0 answers

How can I detect when a recurring event is null in an Outlook add-in?

The Office.EventType.RecurrenceChanged event only occurs when change from null to recurrence or from recurrence to another recurrence I'm wondering How can I detect when recurrence to null Office.EventType.RecurrenceChanged

Outlook
Outlook
A family of Microsoft email and calendar products.
2,235 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-12T03:03:37.99+00:00
종화 박 0 Reputation points
1 answer

When I add a comment in PowerPoint using Interop, it gives an error "Comments (unknown member) : Illegal value. "

When I am adding a comment in Office 365 PowerPoint using Interop, it gives an error > Comments (unknown member): Invalid value. My code was working for a long time, but in the last few days after the release of the latest version(2310) of…

PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
178 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-06T05:20:22.2133333+00:00
Sudhanshu Saxena 0 Reputation points
commented 2023-12-11T22:16:06.47+00:00
Macropoulos, Alex 0 Reputation points
1 answer

How to update subscription payment for Office for home

I have moved. Need to update payment information

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-11T15:20:00.52+00:00
walter boronski 0 Reputation points
answered 2023-12-11T18:12:39.5433333+00:00
John Korchok 4,626 Reputation points
7 answers

Is there a way to disable the script confirmation popup the appears everytime I click on a button?

I create a simple file and I was trying to automate some processes and I notice that every time I click on the Script button it shows me a popup on the right side that says script run status, its annoying to see that everytime I click on the button. How…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
4,540 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
760 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2022-02-11T03:49:23.68+00:00
Wilmer Torrez 16 Reputation points
commented 2023-12-11T12:53:11.1766667+00:00
Sevenich, Lex 0 Reputation points
1 answer

Excel makro and powerpoint

Good morning, I have an Excel macro that transfers content to PowerPoint. Is it also possible to transfer an image that is in an Excel cell to PowerPoint with this macro? Thank you! This is the code:

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
2,728 questions
PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
178 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,110 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-08T07:40:37.65+00:00
Martin, Heidi (SE GP T SP PS) 281 Reputation points
answered 2023-12-11T09:53:30.78+00:00
Martin, Heidi (SE GP T SP PS) 281 Reputation points
0 answers

Error: Compilation error in hidden module: ThisWorkbook

I have a xlsm,When I opened this file in excel,He will pop up an error: Compilation error in hidden module: ThisWorkbook,My activex controls are all turned into pictures and can't be clicked。 I haven't made any changes to this file, and he used to work…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,110 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-11T02:17:00.35+00:00
旭光 唐 20 Reputation points
edited the question 2023-12-11T03:31:49.6766667+00:00
Jiachen Li-MSFT 22,106 Reputation points Microsoft Vendor
0 answers

The Word document becomes a read-only file after being saved using VBA's Saveas2

I have a template file file.dotx and when I open it and use vba's ActiveDocument.SaveAs method the document becomes read-only Sub Macro() ActiveDocument.SaveAs2 "D:\test.docx" End Sub this is my version Microsoft® Word 2019MSO (版本 2311 Build…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
509 questions
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,008 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,074 questions
asked 2023-12-09T01:19:54.2566667+00:00
旭光 唐 20 Reputation points
edited the question 2023-12-11T01:02:10.4166667+00:00
Jiachen Li-MSFT 22,106 Reputation points Microsoft Vendor