Hi
Private Sub Worksheet_Activate()
Range("a1").Value = "Hi" 'or whatever you want
End Sub
this code goes against the sheet module of the specific worksheet that you
want to use to execute the code rather than in a "module", ie if the sheet
was called Sheet2, then in the VBE window, you would double click on Sheet2
in the project explorer and put your code there.
Cheers
JulieD