OLEO-object (checkbox) in Excel VBA causes problems (error 1004) with MS defender in company network

Chris 0 Reputation points
2023-01-21T15:38:20.6966667+00:00

Hi there,

I created an Excel VBA-project that includes checkboxes. On my PC (Office 365) everything runs fine.

In the company network it was fine until the IT department changed something regarding the defender safety precautions:

Code sample: ws2.OLEObjects("cb_NO").Object.Value = Me.cb_kontakte_no.Value

See error below:

screenshot

What could be the problem?

Your help would be very much appreciated!

Greetings

Chris

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,668 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,694 questions
{count} votes