Hi guys. I am trying to write a script to read in an Excel file (saved in text - tab delimeted format, so a text file really), search each file one line at a time to take out cells (i guess by using a regular expression for a pattern following a tab - what is the wildcard for tab?) that matches the pattern "(number/number)", eg (30 / 45). I then want to do the relevant calculation on this, ie in this case 30 divided by 5, and place the answer into the column in place of the original value in the cell. This way i can then re-open the text file in excel and the column of "(num/num)" values will be replaced with the corresponding numerical values.
I also then want to take out whole columns and place them under previous columns, for example i want to take columns 4 and 5 and append them to the ends of columns 2 and 3 respectively. And to copy the contents of column 1 (title column) and append it to the bottom of column 1.
If this makes sense to anyone i would be very grateful for your help.
cheers