Select every cell, and enter the following formula as a basis for the conditional formatting:
=$B1=MAX($B$1:$B$40)
Whenever the value of your row in column "B" is the largest of all cells from "B1" up to "B40", then every cell in your row will be coloured.