N
Nicolae Panait
Hi guys,
Ever encountered this problem in displaying the formula result afte
modifying the cell formula with a VB code?
The code is trivial:
Sub SetFormulas()
Dim startRow As Integer
Dim endRow As Integer
startRow = InputBox("Enter start row to be processed", "Pars
formulas")
endRow = InputBox("Enter end row to be processed", "Parse formulas")
For i = startRow To endRow
ActiveSheet.Range("I" & i).Formula = ActiveSheet.Range("H" & i)
ActiveSheet.Range("M" & i).Formula = ActiveSheet.Range("L" & i)
Next i
ActiveSheet.Range("I:M").Calculate
End Sub
Still, the modified cells display formula string and not the result!
Any idea?!
Many thanks in advance
Nicola
Ever encountered this problem in displaying the formula result afte
modifying the cell formula with a VB code?
The code is trivial:
Sub SetFormulas()
Dim startRow As Integer
Dim endRow As Integer
startRow = InputBox("Enter start row to be processed", "Pars
formulas")
endRow = InputBox("Enter end row to be processed", "Parse formulas")
For i = startRow To endRow
ActiveSheet.Range("I" & i).Formula = ActiveSheet.Range("H" & i)
ActiveSheet.Range("M" & i).Formula = ActiveSheet.Range("L" & i)
Next i
ActiveSheet.Range("I:M").Calculate
End Sub
Still, the modified cells display formula string and not the result!
Any idea?!
Many thanks in advance
Nicola