Hi ,

Welcome to the board.

Assuming the command buttons are ActiveX controls (i.e. they're from the Control Toolbox) this post should lead you in the right direction.

HTH

Robert