Hi, I find this code very useful cos I need to do something very similar. But the difference is, I have this excel sheet with random samples generated as follows.

A1 B1 C1 D1
0.01 0.13 0.21 0.001
0.11 0.09 0.25 0.002

and so on for 1000 rows.

My input file which i need to automate is as follows

'PORO' 0.01 ( this 0.01 has to be replaced by the values in the column A1)
'PERM' 0.12 ( This value has to be replaced by the values in column B1) and so on.. Each time the software inputs the file, the value should change automatically. I have the code to call the software. Can u help me pleasee..