Hi,
I have tried invoke vba on .XLS file. The data in the files starts from C3. I want to change the format for W column. So i have given VB script in the txt file. Please find the below script
Function Macro1(r)
Columns(r).Select
Selection.NumberFormat=“0”
ActiveWorkbook.Save
End Function.
In the Invoke VBA activity, given the .txt path.
EntryMethodName=“Macro1”
EntryMethodParameters = {“”+“W:W”+“”}
I have debugged the Invoke vba activity. it has done the required operations, but as soon as it comes out of the Excel application scope, The format is getting into the initial format and also the data has moved into B1 whereas the initial data is from C3.
Please help, Thanks in Advance.