Excel evaluates those assignments as string. So, for example, in M27, Excel evaluates "=(M6*10)/(4*M23)" as:
'=(M6*10)/(4*M23)
Try pasting that manually into an Excel Cell to see what I mean.
To fix this, you may do the following:
Code:Cells(26, 13) = Evaluate("=(M6*10)/(4*M23)")




Reply With Quote
