Hi @hkempeneers
I use the same setup in my current BOM export and it works like this.
1.Use BOM export code to export bom to .xlsx file.
2.Use the same ilogic rule to open the .xlsm template
3. Copy .xlsx content to template
4. Place a value into a cell on template and with this cell populated and cell value change event trigger the internal macros are triggered.
So in short using a temp place holder workbook to hold the data and allow it to be positioned in the correct place in the template. The BOM export options don't allow this specific positioning of data.
I had attempted to operated macros in the template direct from the ilogic rule but it seems it is not supported perhaps security issue or it has a specific method which I could not find.
If your open to the idea maybe get rid of the .xlsm file and put all the processing within an ilogic rule.
To further the conversation can you share the code your using to understand what is manual /automated.
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan