1. Install the excelcli tool using `dotnet tool install --global Sbroenne.ExcelMcp.CLI`.
2. Open the Excel workbook using `excelcli -q session open <path>` to obtain a session ID.
3. Identify the target sheet and range for data manipulation.
4. Execute commands like `excelcli -q range set-values` or `excelcli -q table create` to modify the Excel file.
5. If necessary, add tables to the data model using `excelcli -q table add-to-datamodel`.
6. Save and close the session using `excelcli -q session close --session <id> --save` to persist changes and release the file lock.