Hi! I have a similar but a little more complicated problem: The initial value I try to set is a function of loop index. Suppose I have 50 files to open. When open each file, I want to add a new column, and fill the new column with the file name of this file. The initial value is supposed to be a constant. But, when this function is used within a loop, the code seems stuck. It opens the first file, without filling the initial value, and stopped. How should I make it work? Thanks a lot.
... View more