Dear friends,
Is it possible to update more than one cell in Excel spreadsheet by using one call to VBA function?
Specifically: I put in one cell (e.g. A1) string "=F(2)", where F is VBA macro (function) I defined. It works fine if I am going to update the cell A1 only. But it does not work if I include into the function F statement like
cells(3,5)=1 (i.e. try to update another cell).
Do you know is it possible at all to update more than one cell in Excel spreadsheet by using one call to VBA function?
Thank you.
Is it possible to update more than one cell in Excel spreadsheet by using one call to VBA function?
Specifically: I put in one cell (e.g. A1) string "=F(2)", where F is VBA macro (function) I defined. It works fine if I am going to update the cell A1 only. But it does not work if I include into the function F statement like
cells(3,5)=1 (i.e. try to update another cell).
Do you know is it possible at all to update more than one cell in Excel spreadsheet by using one call to VBA function?
Thank you.