Hi All , I have attached a macro which I use to append weekly data to a large csv file, which was working fine till last week, but when I ran it again today, I am getting the below error:

When I open this macro to test run and see if it is working fine, then I cannot find any error, but when I am using it in my workflow I get the above error, can you please help me, as this macro has been very useful for me till now and I want to keep using this in my workflow.
Appreciate your help in advance!