i want to make it not visible once it has been clicked, but when the worksheet is opened again i want it to be visible. when you asked if the code was in the sheet that the button was in, i put it in there after my call statement, like this
Private Sub CmdUpdate_Click()
Call Filter
CmdUpdate.Visible = False
End Sub
now that works fine. (filter is the macro in the module)
now i don't know where to put the code to have it be visible when the workbook opens
it gives me an error if i try this in the sheet that the button is in...
Private Sub Workbook_Open()
CmdUpdate.Visible = True
End Sub
Thank you for your help.
Smiley B-)