Content
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,…
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…
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…
DoCmd.Runcommand
VBA
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 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…
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…
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…
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…
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…
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: …
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…
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;"…
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
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…
How to update subscription payment for Office for home
I have moved. Need to update payment information
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…
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:
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…
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…