Invoke VBA: Object reference not set to an instance of an object

when i trying to iinvoke vba code this error throws

Invoke VBA: Object reference not set to an instance of an object. UiPath

@pravin_bindage “object reference not set to an instance of an object” means that you are referring to an object the does not exist or was deleted or cleaned up

Hello @pravin_bindage
If you pass some value via VBA code, Check your Argument value. If it does not exist, the error may occur.

1 Like

yes forget to update config file

Hello @pravin_bindage

In the invoke code activity are you passing any argument?
Can you share the screenshot here. If the value is null then usually we will get this error.

Thanks

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.