Im setting up a risk assesment sheet, with a matrix of 25 (5x5) fields, having different colors green-yellow-red-white. The 5x5 matrix is labeled A-E on the X-axis and 1-5 on the Y-axis.
Bellow there is a table describing new riskassesments, with two fields Safety (1-5) and consequence (A-E). Trying to make a VBA code changing the backgroundcolor of these cells to match the risk matrix color matching this value.
Looking to make this better than alot of If statements checking out all combinations.
Skjermbilde 2023-12-06 081021.png
Skjermbilde 2023-12-06 081115.png
My excel/VBA skills are somewhat limited, but Im a quick learner :D
Lars
Bookmarks