Articles → UiPath → Invoke VBA Activity In Uipath
Invoke VBA Activity In Uipath
Purpose
Settings
- Open Excel file
- Go to "File" → "Options" → "Trust Center" → "Trust Center Settings" → "Macro Settings"
- Check the checkbox - "Trust Access to the VBA project object model"
Click to Enlarge
Sample VBA File
Click to Enlarge
Example
- Drag and drop the "Excel Application Scope" activity.
- Inside the "Excel Application Scope" activity, add the "Invoke VBA" activity.
Click to Enlarge
Output
Click to Enlarge