3,489 questions with Office Development tags

Sort by: Updated
1 answer

How to bold a specific word using VBA MS Word

Please share code

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,489 questions
asked 2022-09-16T10:31:51.843+00:00
Munir Ahamed 1 Reputation point
answered 2022-11-08T20:27:50.333+00:00
Oskar Shon 866 Reputation points MVP
1 answer

How do i get this to work?

Public Declare Function SHBrowseForFolder Lib "shell32" _ Alias "SHBrowseForFolderA" _ (lpBrowseInfo As BROWSEINFO) As Long Public Declare Function SHGetPathFromIDList Lib "shell32" _ Alias…

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,489 questions
asked 2022-10-26T04:02:56.81+00:00
Noin Jane Villarmia 1 Reputation point
answered 2022-11-08T19:37:47.657+00:00
Oskar Shon 866 Reputation points MVP
5 answers

Can't find idMso for Picture... button on ContextMenuInlinePicture

In a Word .doc in compatibility mode I'm specifically looking to hook the Picture... button shown. This is an inline image. It isn't idMso="PictureFormatDialog" and I've tried a few dozen likely guesses with no luck. I'm sure my XML is…

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,489 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
893 questions
asked 2022-10-27T18:26:44.95+00:00
John Desrosiers 1 Reputation point
answered 2022-11-08T18:32:30.747+00:00
Oskar Shon 866 Reputation points MVP
3 answers One of the answers was accepted by the question author.

Excel Security issue

Hi, One of the user create VBA code in his developer excel tab. There is no VBA written code for this but he used the Excel Developer Tab > Design Mode for the design on this excel sheet. He have the attached error. Before enabling the…

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,489 questions
asked 2022-10-17T01:28:16.017+00:00
IT Depart 151 Reputation points
answered 2022-11-08T18:19:34.483+00:00
Oskar Shon 866 Reputation points MVP
1 answer

How to make a script that will make an additional column "to the right" of the full area?

Dear Sir or Madam, I have a macro/script (on Sharepoint) that adds one column with new tracking data through VLOOKUP in Excel worksheet every week (supported by Power Automate). The column of new data is always inserted to column "F", so the…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,628 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,489 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,641 questions
asked 2022-11-04T11:44:43.707+00:00
Kral, Jan 1 Reputation point
answered 2022-11-08T18:00:41.47+00:00
Oskar Shon 866 Reputation points MVP
1 answer

Unable to work on VSTO Workbook project in Visual Studio

When I create a VSTO Workbook project in Visual Studio 2019, everything seems to work. I can see the workbook and add to it. However, if I close VS, then reopen the project later on, I cannot open the workbook in the editor. It just hangs there. I can…

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,489 questions
asked 2021-01-07T01:34:28.33+00:00
Pierre Alain 1 Reputation point
answered 2022-11-08T17:25:01.157+00:00
Oskar Shon 866 Reputation points MVP
1 answer

Unable to install VSTO Excel Addin

I have a working vsto office addin but unable to install using the setup.exe installer. Keep getting a "Customized functionality in this application will not work because the certificate". Name: MyAppLetterAddIn From:…

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,489 questions
asked 2021-01-04T14:37:03.423+00:00
InspiredUser33157 216 Reputation points
answered 2022-11-08T17:21:52.23+00:00
Oskar Shon 866 Reputation points MVP
1 answer

How to: Re-enable a VSTO Add-in that has been disabled in excel

I need to reable VSTO add-in by VBA. Is there any means to do so? I would like to cause same effect written below. https://learn.microsoft.com/en-us/visualstudio/vsto/how-to-re-enable-a-vsto-add-in-that-has-been-disabled To re-enable a…

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,489 questions
asked 2022-08-17T10:42:04.853+00:00
小菅秀紀 1 Reputation point
answered 2022-11-08T17:13:25.86+00:00
Oskar Shon 866 Reputation points MVP
1 answer

Excel C# VSTO Addin Tab name not showing

Hi I created an Excel Add-in in Visual Studio using C#, and it seems that the Tab Name is not showing. Disabling and enabling the add-in solves the issue temporarely, but it's not something that I can ask my customers to do... And if I…

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,489 questions
asked 2022-09-26T21:54:49.733+00:00
Daniel Dumitru 1 Reputation point
answered 2022-11-08T17:02:27.627+00:00
Oskar Shon 866 Reputation points MVP
1 answer

how to send email via outlook from inside a php script

how to send email via outlook from inside a php script With the retirement of the outlook REST API , and newever versions of php code and the extra security around sending along with outlook now being on mobile devices. How can we get all email…

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,489 questions
asked 2022-11-03T00:09:20.733+00:00
Damien W 6 Reputation points
answered 2022-11-08T16:49:42.917+00:00
Oskar Shon 866 Reputation points MVP
2 answers

How to host my outlook Add-ins for public users

I want to host my outlook add-in for public users

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,489 questions
asked 2022-10-28T08:37:13.58+00:00
John C 1 Reputation point
answered 2022-11-08T16:42:48.603+00:00
Oskar Shon 866 Reputation points MVP
4 answers

How do you know who your administrator is?

Where can I look to see who the administrator is?

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,489 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,887 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,473 questions
asked 2022-11-02T09:13:58.333+00:00
ANASTACIA LAUREN MONIQUE PEKA 1 Reputation point
commented 2022-11-08T06:41:09.927+00:00
Faery Fu-MSFT 16,836 Reputation points Microsoft Vendor
0 answers

Decommision of Outlook REST API

When the Outlook REST API is decommissioned after Nov.30-2022, existing Outlook Add-ins will automatically be granted en excemption, and can continue to use the REST API until the end-of-life date of Office2019. I have understood, from some of the…

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,489 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,887 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,000 questions
asked 2022-11-07T10:58:27.97+00:00
Bjørn Rasmussen 1 Reputation point
1 answer One of the answers was accepted by the question author.

excel sort number Respectively from first

hello my friends .. i have excel sheet that one of columns is my number. but i need to change numbers from first but some rows have same number. i send a template of my sheet that you understand better. thank you

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,489 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,641 questions
asked 2022-11-05T11:23:07.563+00:00
gholamreza rezaie 61 Reputation points
accepted 2022-11-07T10:44:35.06+00:00
gholamreza rezaie 61 Reputation points
0 answers

I'm trying to create a write back macro in excel for communication with SQL server management but theres a particular part that I can not get to work, even though it has worked for other macros.

This is my attempt at writing the macro: Option Explicit Dim LastRow As Long Dim i As Integer Dim Actual_Bank_Balance As Long Dim Payroll_In As Long Dim Vehicles_In As Long Dim Manufacturer_In As Long Dim Vertu_House_In As…

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,489 questions
asked 2022-11-07T10:19:33.313+00:00
Michael 1 Reputation point
0 answers

Outlook REST APIs

Outlook REST APIs are deprecated. https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/use-rest-api We're in the last stage to develop office addin and would like to support Office 2019. We are using a few office restapi that will be deprecated…

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,489 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,887 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,000 questions
asked 2022-11-04T15:35:16.467+00:00
Leila Lei 1 Reputation point
commented 2022-11-07T09:35:03.01+00:00
Ceasar Chen_MSFT 4,391 Reputation points
0 answers

Email forwarding - emails behaving strangely

I have a user that we enabled the Email forwarding option to her, let's call this user (X) So X is on a leave and her emails are being forwarded to her colleague (Y). Now when someone sends an email to X and Y at the same time. Y would see only one…

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,489 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,350 questions
asked 2022-11-02T12:31:59.833+00:00
Mohamed Salah 1 Reputation point
commented 2022-11-07T08:30:14.837+00:00
Jame Xu-MSFT 4,166 Reputation points
0 answers

Outlook add-in not working via outlook client

Hi, Our company has our own XML manifest button. [custom add-in]. We have support for shared folders tag to allow shared mailboxes to use this button too. But for some reason, specific customers are having issues using this button via…

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,489 questions
asked 2022-11-06T09:43:35.17+00:00
Max Kogan 1 Reputation point
2 answers

Handling unhandled Exception in vsto

Hi All, How can I handle unhandled exceptions for vsto add in .I want to handle this as my word is crashing if there are unhandled exceptions

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.
10,249 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,489 questions
asked 2022-11-04T13:55:16.017+00:00
Gunjan Arora 41 Reputation points
commented 2022-11-06T09:39:25.67+00:00
RLWA32 40,286 Reputation points
1 answer

Office-AddIn Login

Hi All, we've created a ASP & .Net 6 application that use Azure AD as IdP (SAML 2 & OpenId). Now we want to extend the application with an Office Add-In, to protect flow using log-in mechanism there're is a path to follow ? Thanks in…

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,489 questions
asked 2022-10-26T15:35:53.87+00:00
Roberto Zilli 1 Reputation point
answered 2022-11-04T19:44:28.93+00:00
Elizabeth Samuel MSFT 11 Reputation points Microsoft Employee