Is it possible to have a custom function that not only updates its own cell but another cell aswell in (Excel XP)?
This example code does not work .......
The code returns a "#VALUE!" error because of the "Value" update statement that is presumably not allowed.
I guess this type of update is against the theory of what functions are used for. The reason for this type of user defined function is to minimise the number of formulas in a spreadsheet. Is there an alternative ? or I'm I barking up the wrong tree.
Any ideas appreciated.
This example code does not work .......
Code:
Function function_test() As Boolean
function_test = True
Range("A1").Value = "Function Has Worked"
End Function
The code returns a "#VALUE!" error because of the "Value" update statement that is presumably not allowed.
I guess this type of update is against the theory of what functions are used for. The reason for this type of user defined function is to minimise the number of formulas in a spreadsheet. Is there an alternative ? or I'm I barking up the wrong tree.
Any ideas appreciated.