4,396 questions with Microsoft 365 and Office | Development | Other tags

Sort by: Updated
1 answer

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
asked 2021-03-10T10:21:12.87+00:00
桐 梧 1 Reputation point
commented 2021-03-11T06:25:07.48+00:00
Emily Hua-MSFT 27,796 Reputation points
0 answers

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
asked 2021-03-09T21:08:22.89+00:00
Ryan G 1 Reputation point
commented 2021-03-11T02:52:42.27+00:00
Xingyu Zhao-MSFT 5,381 Reputation points
0 answers

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
asked 2021-03-09T15:15:23.573+00:00
neeraj badalu 41 Reputation points
1 answer

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
asked 2021-03-04T16:15:28.807+00:00
Majda BOUGHANMI 1 Reputation point
answered 2021-03-09T09:33:23.267+00:00
Matt Allington 332 Reputation points MVP
0 answers

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
asked 2021-03-08T23:24:25.027+00:00
J Torres 1 Reputation point
0 answers

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
asked 2021-03-06T11:05:07.827+00:00
Ensiyeh Pourshojaei 11 Reputation points
0 answers

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
asked 2021-03-05T17:03:14.53+00:00
chong guo 1 Reputation point
0 answers

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
asked 2021-03-05T14:37:50.543+00:00
Stewart 106 Reputation points
2 answers

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
asked 2021-03-04T14:21:38.28+00:00
Janet Kalbfleisch 1 Reputation point
commented 2021-03-05T03:03:45.333+00:00
JeffYang-MSFT 6,261 Reputation points Moderator
0 answers

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
asked 2021-03-04T21:42:43.363+00:00
Chris Behrens 1 Reputation point
commented 2021-03-05T01:59:06.43+00:00
Erin Ding-MSFT 4,476 Reputation points
0 answers

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
asked 2021-03-04T17:11:47.367+00:00
Nova612 1 Reputation point
0 answers

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
asked 2021-03-04T13:18:58.617+00:00
LBerendsen 1 Reputation point
2 answers One of the answers was accepted by the question author.

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
asked 2021-02-26T07:37:31.44+00:00
Peter Karlström 216 Reputation points
accepted 2021-03-03T10:05:40.69+00:00
Peter Karlström 216 Reputation points
1 answer

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#
asked 2021-02-22T05:48:09.56+00:00
ApsSanj 6 Reputation points
commented 2021-03-03T09:19:43.197+00:00
Daniel Zhang-MSFT 9,656 Reputation points
0 answers

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
asked 2021-03-03T01:35:54.54+00:00
Jarrod Wee 1 Reputation point
5 answers

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#
asked 2021-02-22T15:54:39.143+00:00
Artimes 346 Reputation points
answered 2021-03-03T00:10:13.97+00:00
MotoX80 36,421 Reputation points
1 answer

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
asked 2021-02-24T23:32:30.5+00:00
Don Bovell 1 Reputation point
answered 2021-03-02T19:14:21.573+00:00
Marcelo Grecco 1 Reputation point
0 answers

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
asked 2021-03-02T13:01:53.807+00:00
Michał Kaszta 1 Reputation point
0 answers

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
asked 2021-03-02T11:52:37.82+00:00
Dor Ramati 1 Reputation point
0 answers

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
asked 2021-03-02T10:05:42.02+00:00
Joyce Beck 31 Reputation points