
4,396 questions with Microsoft 365 and Office | Development | Other tags
Outlook, how to use VBA to send email to groups of contacts?
How to use VBA to send email to groups of contacts? I tried send email to contacts group but it didn't work.The email was sent, but nobody received it. ovMailItem := ovOutlook.CreateItem(0); ovMailItem.To := 'my contacts group or contacts group…
Microsoft 365 and Office | Development | Other

Developer technologies | Visual Basic for Applications

VB .net accessing excel files offline
I'm writing a program that creates and reads excel spreadsheets. They are stored in My Documents so that they're synced with OneDrive. Everything in my OneDrive is set to be available offline. When I disconnect from wifi, I get an error saying…
Microsoft 365 and Office | Development | Other

Developer technologies | VB
Alternative for Visual Studio 2010 Tools for office runtime - end of the lifecycle
Hi We have outlook plugin which works on Visual Studio 2010 Tools for office runtime , as below article it end of his life https://stackoverflow.com/questions/65183756/visual-studio-2010-tools-for-office-runtime-end-of-the-lifecycle what is alternative…
Microsoft 365 and Office | Development | Other

Automatised actions on a folder
Hello everyone! As written in the title, I would like to automatise some actions on new files that are added to a folder. These files are automatically downloaded from a FTP in .csv format. My goal is to tranform these .csv into .xlsx and to do a…
Microsoft 365 and Office | Development | Other

Community Center | Not monitored
Ace.Oledb 12.0 when updating a range is putting the data on the wrong line
All, I'm using Ace.Oledb 12.0 in a vb.net program to update a range on an Excel xlsm document we are using as a template but it's putting it on next line instead of the actual range line. For example if the range is E3:F3, it is putting the data on…
Microsoft 365 and Office | Development | Other

how to fix Error LNK2001 unresolved external symbol __imp_GetCommPorts
Hi I am trying to find COMs for finding which port is connected to BLE dongle. for finding COMs I used below code and this Error is appeared
Microsoft 365 and Office | Development | Other

I can't find Taskpane
I'm learning to develop Excel add-in. But I can't find the Taskpane in the Excel. I have tried to search in the home tab and the view tab, but I did not find. My Office is Office2019. Besides, I can't start the project. The error message…
Microsoft 365 and Office | Development | Other

VSTO 2019 Project 2016 Professional: Obtain daily resource availability AND overallocations?
Is it possible to obtain time-phased daily resource availability and overallocations using C# VSTO? Using Project, View, Resource Usage: Show Resource Availability per day.
Microsoft 365 and Office | Development | Other

Access vba - Hourglass while Outlook Opening - Outlook takes forever to open
We just moved to Outlook 365 which takes forever to open. I have a program that puts events into the Outlook calendar. It first checks to see if Outlook is open, and, if it's not, opens it. Because Outlook 365 takes forever to open, I would like to have…
Microsoft 365 and Office | Development | Office JavaScript API

Microsoft 365 and Office | Development | Other

Developer technologies | Visual Basic for Applications

How can I tell whether a doc is using Twips as the measurement format?
I have this block of openXML in a Word doc: <wps:wsp> <wps:cNvPr id="29" name="Text Box 28"/> <wps:cNvSpPr txBox="1"> <a:spLocks noChangeArrowheads="1"/> </wps:cNvSpPr> <wps:spPr…
Microsoft 365 and Office | Development | Other


Project Task Not Populating on Timesheet
I'm trying to set up timesheet tracking for my company on Project Web App. I've established the time tracking however when testing the system I've assigned myself as a resource on a project. That task is not populating on my timesheet. I've saved and…
Microsoft 365 and Office | Development | Other

VSTO Outlook Separated Form Region source code
Hello all, I am looking for a source code exemple about how to create a separated form region in Outlook. All examples I found are about side bar or top bar, nothing about separated region. I read some books from Sue Mosher, Lars Powers, Mike…
Microsoft 365 and Office | Development | Other



Replace text with URL in Word document using Open XML
Hello I have problems with a project where I want to replace som tagged text in a Word document with a clickable URL. The sample code below uses a word document which contains the text [Webpage]. Here is the code with the problem: Imports…
Microsoft 365 and Office | Development | Other



Link Excel Worksheet in a Word document
What I wanted to achieve : Implement a function in C# which executes similar to the Word object insertion as a link and attach a selected excel file into the word document with 'link to file', so that the changes to the excel source file is reflected…
Microsoft 365 and Office | Development | Other

Developer technologies | C#
Outlook S/MIME Issues
Not sure if this is the correct channel to report issues discovered while testing Outlook's native S/MIME handling. Some issues seem to affect certain Outlook versions only - possibly fixed or broken along the way as Outlook got updated. Outlook…
Microsoft 365 and Office | Development | Other

Difference between powershell and remote powershell
If I run the commands below in a local powershell window its working as expected. And if I login remotly to the same machine via Enter-PSSession the commands are not working. I started both powershell sessions in same user context. The output of…
Microsoft 365 and Office | Development | Other

Windows for business | Windows Server | User experience | PowerShell
Developer technologies | C#
Chnage Font color based on Task Status
Hello How can I change the font colour and style (eg bold, italic strikethough) based on the tasks Status. Eg if 'Over Due' - then red font if 'Completed' - then grayed out and strikethrough if 'Due this week' - then blue if 'Not Yet Due' -…
Microsoft 365 and Office | Development | Other


Outlook VSTO - BeforeAttachmentAdd sometimes is just not fired
Hello, I'm struggling with catching BeforeAttachmentAdd event. Sometimes it's just not fired, and I don't know why. There are no exceptions, event is properly registered but id doesn't fire before adding attachment. Here's my code: using Outlook =…
Microsoft 365 and Office | Development | Other

Sign an office addin
Hi We have an old c# com excel addin. (not vsto ) We use signtool to sign the addin with extended Sectigo certificate. But still Excel 2016 complains that the addin is not signed. ( when this option in trust center is enabled) Is com addins are …
Microsoft 365 and Office | Development | Other

Exchange Web Service API life cycle?
Hello folks, Because here comes a deprecation of Outlook V2.0 REST APIs on November 30, 2022. https://techcommunity.microsoft.com/t5/exchange-team-blog/outlook-rest-api-beta-and-outlook-rest-api-v2-0-deprecation/ba-p/1898162 I am wondering when is…
Microsoft 365 and Office | Development | Other
