I want to execute macro which is saved in excel file and I have to go to particular sheet to execute it.
- Open Excel File: Use the “Excel Application Scope” activity to open the Excel file. Provide the file path as an input.
- Navigate to Sheet: Inside the “Excel Application Scope,” use the “Select Range” activity or “Excel Read Range” activity to navigate to the specific sheet you want to work with. Alternatively, you can use the “Activate” activity to activate the sheet.
- Invoke VBA: After navigating to the sheet, use the “Invoke VBA” activity to execute the macro. Provide the path to the Excel file and the macro name as inputs. You can also pass any required parameters.
Or Follow the below solution
Excel read range is not navigating to the sheet. Can you suggest something else?