Missing Information from the Problem - The
VB Macro is a FUNCTION being
called from the spreadsheet.
The Solution: - A Rule: You CAN'T change the enviornment a Function is being
called from. I suppose this is because it too easily can end up in an
infinite loop, but for whatever reason EXCEL won't allow it.
Answer: You have to write a SUBROUTINE instead.