Excel User Defined Function: change the cell's color

前端 未结 6 1049
生来不讨喜
生来不讨喜 2020-12-11 11:10

I have a user defined function in Excel. It is called as a formula function from spreadsheet cells and works fine.

I\'d like the function to be able to change the ce

6条回答
  •  伪装坚强ぢ
    2020-12-11 11:40

    This cannot be done. User defined functions cannot change the state of the workbook/worksheet etc.

    Use Conditional Formatting to achieve what you are trying.

    EDIT: This is more of a suggestion, not a real answer.

提交回复
热议问题