code needs a bit more for the hoverFunction formatButton(isOn as Boolean, ctrl As Control)
If isOn Then
ctrl.BorderColor = vbBlue
ctrl.BackColor = vbBlue
ctrl.ForeColor = vbWhite
ctrl.Alignment = 3
Else
ctrl.BorderColor = vbBlack
ctrl.BackColor = vbWhite
ctrl.ForeColor = vbBlack
ctrl.Alignment = 0
End If
End Function
Now if you can also help me retrieve my own code from an accde file where I've deleted the original accdb, I'll know for sure Santa Claus exists ....
Wayne Phillips can do that for you. I'm not sure he dresses up in a red suit though.
http://www.everythingaccess.com/mdeconversion.asp
Cheers