Hi everyone!
During a process I’m getting an error when invoking VBA using Modern Excel activities.
I’m running the VBA code in order to delete all the hidden rows in the file (about 70k).
The error is the following:
Invoke VBA: In order for this activity to work, Trust Access to the VBA project object model must be enabled from Excel (File > Options > Trust Center > Trust Center Settings > Macro Settings > Select the Trust Access to the VBA project object model check box)
I’ve already made sure that Excel is correctly set but I still get the error.
I’m attaching the piece of the sequence where I’m invoking the VBA as the code itself. I’m also attaching a screenshot of my Excel where the settings can be seen.
I’ve tried to use For Each and Delete Hidden Rows activities but they take too long due to the amount of rows to be deleted. The size of the file also makes hard to me to use it as a datatable to filter it afterwards. So my last thought was the VBA code.
Any help is welcome
Many thanks!
VBADeleteHiddenRows.txt (245 Bytes)