So I have an excel file that is generated every day. The issue I am running into when I attempt to upload to SQL server, it needs specific columns deleted. These columns are generated at random, so trimming by their specific column is out. I have VB code I used to delete said columns, and it works fine inside the excel instance, however running the exact script from Power automate does not work. There are about twenty or so columns I must trim.
Excel script example:

Power Automate Example


How would I change the power automate VBS script to target that particular excel instance?