- Lets say you have finished saving your CSV as XLSX. Lets call this file as Main.xlsx (no worries even this name changes everyday)
- Take a new Excel file. Lets call this as MacroFile.xlsm. Write a macro in this file where the macro function will accept the file path and name of any other excel file.
sub MyMacro(filepathwithname)
' via macro code open the filepathwithname
'replace the unwanted characters
'save and close the file
End sub
You will get tons of VBA code on the internet on how to open another excel file from within a macro.
Also will get how to replace text.
That's it.
From your PAD, call the MacroFile.xlsm and pass the path and name of the Main.xlsx file
So basically you will always have one macro file at some location which will be known to PAD, which will be calling to open any other external Excel file to do the Find, Replace, Save and Close.