View Single Post
  #1   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
 
ExcelBanter Database Error
Database Error Database error
The ExcelBanter database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.excelbanter.com home page, then try to open another page.
  • Click the Back button to try another link.
The www.excelbanter.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.