How to keep macro outside the execution file

Hi Guys,
I am keeping the macro inside the execution file it’s working fine. Do all the filtering activity nicely. But once if i keep it in.txt file and using invoke VBA activity it’s not doing filtering work properly. Suggest a method to resolve it.

@Gopi_Krishna1

What is happening

What is the code you are using

When you say not doing is it failing or is it not working as expected

Cheerd

It’s not filtering properly meanwhile keeping the code as macro inside the excel it’s working properly

@Gopi_Krishna1

What is the code

Cheers