Hey guys,
I wanna know how Pivot table can be created.
I’ve just created a pivot table manually.
And, I tried automating it with the activity, but getting errors. Test.xaml (5.6 KB)
Yea @sarathi125,
I’ve used that same activity.
Sometimes it works fine and creates a pivot table, but it’ll be in a different format and not as how I need and sometimes it’ll just throw an error.
Record macro with creating Pivot table, Save that Macro in a text file with a .txt extension.
call the text file in invoke VBA code Activity. (and mention that method name in activity)
place the invoke vba activity in a Excel Application Scope Activity.
If any arguments need to pass to the method, pass in the “Entry Method Parameters” (to make range dynamic)
Firstly, Do check EntryMethodName (parameter of Invoke VBA activity), In your macro, the method name is Macro1, so mention the same at EntryMethodName parameter (“Macro1” instead of “Main”).
Secondly, don’t forget to check this checkbox below,