right click on the sheet with the cell and put in code like:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
if Target.Address = "$C$9" then
Application.ScreenUpdating = False
Sheets("Customer").Select
Sheets("Customer").Range("A1").Select
ActiveWindow.Zoom = 62
ActiveWindow.ScrollRow = 1
ActiveWindow.ScrollColumn = 1
Application.ScreenUpdating = True
End If
End Sub
Works for me when C9 is clicked
--
Regards,
Tom Ogilvy
Phil Hageman said:
Tom, Thanks for your reply. Below is an example of code I'm using as
attached to a Command button. What I need in this case is something
similar, but without the use of the button. I'm sure your hint would point
a programmer in the right direction, but I don't understand it. Could you
go further? One thing I forgot to mention, the text appearing in the cell
range is put there by a formula in the cell range, like
=IF(G17<>"","1.1:",""). When the user types information in an adjacent
cell, the cell range is populated accordingly. So, the only reason a user
has for clicking on the cell range is to move to a different Worksheet, as
described in my original post. Any help you can provide is sincerely
appreciated. Thanks, Phil