I need some script to export excel data to a text file. I have found a lot of these online, but my situation is a little tricky. I have 100s of excel sheets with a variable number of groups. These goups consist of 5 columns full of data and between each group there is a blank column. For example, I could have 2 groups as shown below (letters are to show columns).
A B C D E F G H I J K
1 4 7 1 4 1 2 3 4 5
2 5 8 2 5 6 7 8 9 1
3 6 9 3 6 2 3 4 5 6
Here column F is blank and I want the data exported to a text file so each group goes vertically under the previous group. So the above excel data would be exported to a text file as follows:
1 4 7 1 4
2 5 8 2 5
3 6 9 3 6
1 2 3 4 5
6 7 8 9 1
2 3 4 5 6
Each of my excel worksheets has a variable number of groups and each group does contain a blank column between it. I need a script that would take an excel file with a variable number of these groups and export the data to a text file like I described above. I am new to this and not very farmiliar with it and therefore do not really know how to go about doing this. I am trying to save a lot of time rather than manually going into each worksheet and copying the data to a text file following the above guidelines.
Any help is appreciated. thanks.
Bookmarks