Reputation: 1
being a freshman with regard to Excel, here is what I would like to achieve:
In cell(row,col) there is a worksheet function, in this case RANDARRY(rows;cols;min;max;TRUE)
.
I now would like to write a vba routine that simply executes whatever is written in cell(row,col)
.
Upvotes: 0
Views: 453
Reputation: 57673
Worksheet("Sheet1").Calculate
should recalculate all the formulas on the sheet.
Worksheet("Sheet1").Range("A1:A10").Calculate
should recalculate the formulas in range A1 to A10 in Sheet1.
Alternatively pushing F9 does trigger calculation without using VBA.
Upvotes: 1