Hi - I have run into a problem where I am converting a formula in R1C1 format to A1-style. I am using a formula conversion function that works fine as long as the length of the original formula string is less than 256 characters.
For example,
Original formula: "=R4C5*R7C5+R4C6*R7C6+R4C6*R7C7...." (Formula Length < 256)
Converted formula "=$E$4*$E$7+$F$4*$F$7+$G$4*$G$7...." (Formula conversion works fine)
But when the code gets to Row 10 and above, the formula string length exceeds 256 characters and the resulting value in my cell is "#Value". Here is a module of code where I have replaced most of the For-Next variable counters with constants. Is there a better way to generate the formula where I do not have to convert from R1C1-style to A1-style?
Please Login or Register to view this content.
Bookmarks