View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jason S. Jason S. is offline
external usenet poster
 
Posts: 4
Default Dynamically change accumulation links when adding worksheets

U can use the worksheet_activate event of the Summary worksheet. Using VBA
code you can use the sheet number to determine the most recent Detail sheet,
or some other unique pattern. Then you can update the formula in the Summary
sheet with the correct reference. Jason