Dear gurus,
I need to convert txt into excel, I have large amount of txt file that need to convert into excel which has delimiter (eg, comma, tab, or pipeline ("|").
My requirement is to have txt file on one folder and the converted file in another folder.
My idea is:
1. Declare the folder name for the txt(this one should be variable), e.g. in cell A1 "c:\test\txt\"
2. set the folder name for the xlsx (this one should be variable), eg. in cell A2 "c:\test\excel\"
3. This one is nice to have, if we could Define the delimiter (this one should be variable also), eg. in cell A3 "|", or "," or "tab"
4. Last is Play button, to run the macro.
Maybe anyone can help me to build the macro for this ?
Thank you
I need to convert txt into excel, I have large amount of txt file that need to convert into excel which has delimiter (eg, comma, tab, or pipeline ("|").
My requirement is to have txt file on one folder and the converted file in another folder.
My idea is:
1. Declare the folder name for the txt(this one should be variable), e.g. in cell A1 "c:\test\txt\"
2. set the folder name for the xlsx (this one should be variable), eg. in cell A2 "c:\test\excel\"
3. This one is nice to have, if we could Define the delimiter (this one should be variable also), eg. in cell A3 "|", or "," or "tab"
4. Last is Play button, to run the macro.
Maybe anyone can help me to build the macro for this ?
Thank you