You can use the Calculate method of the worksheet or a range e.g.
Sub CalcSheet()
Sheets("sheet1").Calculate
End Sub
Sub CalcRange()
Range("A1:A10").Calculate
End Sub
HTH,
D
DK,
I tried that. Here is what I have:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
iRow = ActiveCell.Row
Worksheets("Formula Master").Range("C" & iRow).Calculate
End Sub
I need it to calculate as soon as something changs on the worksheet. It doesn't do it automatically. I have to click the cell again and then the calculation takes place. Any suggestions.
I'm not sure what you want to do. What you've got now will recalculate column C in the active row whenever the cell cursor is moved. Maybe you need to use the Worksheet_change event which is fired when the contents of a cell are actually changed. Please elaborate,
D