VBScript masters, I need your help. I am not very good at scripting, and what I need is probably very easy for someone here to figure out. Here is what I need the script to do:
1: Open Excel and import a TXT file using delimited text import. Here is the "tuff" part. Certain columns need to be formatted as "text only" BEFORE the data is imported. Otherwise leading 0's will be truncated. If it is easier to write the script to make all cells "text" only prior to the import, that's perfectly fine too.
2: Once the data is imported to Excel, the script needs to scan the "A" column starting at A2. If there is data in a cell (anything but blank/empty), then I need the current date to populate in the respective cell in column "O" (ex: A2 has "12345", then cell O2 needs todays date (5/2/2012) populated. Once a blank cell in column "A" is found, stop and save the file as TXT. The first "blank" cell in column "A" will be the EOF.
I hope this makes sense, and I want to thank everyone in advance for tackling this.
Any questions or if anyone needs clarification, please ask.
Thank You!
1: Open Excel and import a TXT file using delimited text import. Here is the "tuff" part. Certain columns need to be formatted as "text only" BEFORE the data is imported. Otherwise leading 0's will be truncated. If it is easier to write the script to make all cells "text" only prior to the import, that's perfectly fine too.
2: Once the data is imported to Excel, the script needs to scan the "A" column starting at A2. If there is data in a cell (anything but blank/empty), then I need the current date to populate in the respective cell in column "O" (ex: A2 has "12345", then cell O2 needs todays date (5/2/2012) populated. Once a blank cell in column "A" is found, stop and save the file as TXT. The first "blank" cell in column "A" will be the EOF.
I hope this makes sense, and I want to thank everyone in advance for tackling this.
Any questions or if anyone needs clarification, please ask.
Thank You!