You use the vba tags by either clicking the VBA button or using a open bracket, VBA and then close bracket.

The solved button is at the top of the thread under Thread Tools, I believe.

Glad the code worked!