View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Southern at Heart Southern at Heart is offline
external usenet poster
 
Posts: 25
Default auto start code when a sheet is looked at

Can I have my code (that updates data on sheet("Materials") to automatically
activate when the user selects that tab in the list of sheets?
I tried this:
Sub Worksheet_Activate()
Update_Materials
End Sub

where Update_Materials is the sub to do the work, but nothing happens when I
flip between sheets...