I'm a newbie to batch scripting and need help.
I want to copy the contents of a csv file A.csv to the first worksheet named "GenData" in a existing XLS file B.xls.
B.xls contains some macros in it's second worksheet for graph generation from the data copied to it's first worksheet.
Both the files A.csv and B.xls are in the same folder. Also, I want to repeat this for about 40 folders containing these two files.
C:\Desktop\Abby\Folder1\A.csv
C:\Desktop\Abby\Folder40\A.csv
PS: I do not want to convert the A.csv to B.xls as B.xls has other worksheets which I wish to retain.I want to copy the contents of A.csv to the existing B.xls file's first worksheet.
I've tried a few scripts but the existing file B.xls is being over-written and the graph generation in the second worksheet is not working.
