Invoke VBA failed

I’m trying to invoke VBA code, but it’s giving me the following error.


image

I already enabled macros in the trust center

@alexis.mendoza are you running macro vba in excel application scope?

@alexis.mendoza
Settings

Yes i do.
the invoke VBA activity is in the DO of the excel application scope activity

1 Like

@alexis.mendoza check above settings

I already have that enabled

@alexis.mendoza
add the line in macro txt file inside function:

Application.DisplayAlerts = False

it didn’t work

@alexis.mendoza
use this inside Sub function: before End Sub like this
Application.DisplayAlerts = False
End Sub


it didn´t work.

@alexis.mendoza can you paste error here. I need to translate it first.

the external procedure is not valid

@alexis.mendoza how you record your macro. can you explain what you want to do in excel

I wrote it in a .txt file

what I want to do is increase the height of the rows from 1 to 50.

@alexis.mendoza let me check my side.

@alexis.mendoza


Macro.txt (53 Bytes)
Try this macro file in VBA
Set Width according to your requirement