D Don Guillett May 2, 2008 #2 Right click sheet tab>view code>left window worksheet>right window activate>put code there
E Ewing25 May 2, 2008 #4 Ohhh i gotchya... I did that but i only want it to show up when you click on the tab the first time, not everytime you click on the tab.
Ohhh i gotchya... I did that but i only want it to show up when you click on the tab the first time, not everytime you click on the tab.
D Don Guillett May 2, 2008 #6 Put ALL of this in the sheet module '========== Public mycheck Private Sub Worksheet_Activate() If mycheck = 1 Then Exit Sub x = InputBox("enter number here") MsgBox x mycheck = 1 End Sub '=========
Put ALL of this in the sheet module '========== Public mycheck Private Sub Worksheet_Activate() If mycheck = 1 Then Exit Sub x = InputBox("enter number here") MsgBox x mycheck = 1 End Sub '=========
E Ewing25 May 2, 2008 #7 Thanks! it worked but i found a different way id like to do it. I posted a question called Simple Autofilter.
Thanks! it worked but i found a different way id like to do it. I posted a question called Simple Autofilter.