![]() |
Change sheet reference in new workbook
I am hoping someone can help with this problem. I have a workbook which
is called Forecast for 2005.xlt which has 13 sheets. One sheet, "Months", is used as a reference for a drop down list (forms toolbar) on all of the other sheets. This is set by Right Click Format Control and then enter Months!$A$1:$A$13. Everything works fine until I try to create a new workbook. Using VBA I copy the last sheet in the old workbook, the "Months" sheet, and the code module to the new workbook. The problem is that the drop down list in the new workbook still refers to the "Months" sheet from the old workbook ( '[Forecast for 2005.xlt]Months'!$A$1:$A$13 ). Is there anyway that I can set the reference to the workbook that the drop down is in? I have looked at a lot of these postings and have not been able to find a problem like this one. Thank you in advance for any help offered. |
Change sheet reference in new workbook
You're my hero! Thank you so much for you reply. It works like a charm!
|
All times are GMT +1. The time now is 12:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com