Hi, I need help to add "" on every cell follow with a , for import files to Oracle. Had wrote a script from sample from internet but after adding these "" to the text in the cell, the formating of the 00 in the cell was gone.
For example, the original data was 12345, I add 00 using custom to make it show as 0012345, but after running the macro to make the cell shows as "0012345", the result became "12345" without the 00 in front.
1st requirement: to add "00" in front of column K,U and AI
2nd requirement: column AB needs to add "0" in front of 1, to show as 01
3rd requirement: column AE needs to show as 00
4th requirement: column AF needs to show as 00000
5th requirement: column AG needs to show as 0000
6th requirement: column AH needs to show as 000
7th requirement: column Y needs to show as blank when with " " with a spacing as blank
FINAL and most important requirement, all cells after convert to txt file, needs to add "" for each data and separate with ,
The result of the txt file should shows like this:
"2022","OMS Invoices","01_OM_WARE_INV","LINE","ABC","WAREHOUSE STORAGE CHARGES","SGD","Sep Invoice","STANDARD GST","31-Aug-2018","0073096","H063","H063","101","1","248.4","248.4","User","1","NET 30","0073096","31-Aug-2018","310070-06","1", ,"REV","248.4","01","000","310001","00","00000","0000","000","0073096","310070-06","1","ABC","101"
I had attached a sample excel file with the 3 macros and 1 txt file as the final desired result. Hoped someone can help.
Bookmarks