Frank Freese
asked on
Populate Project name on new worksheets
Folks,
I have two workbooks where one workbook (""Consolidated") is appended by new tabs from another workbook ("Append").
Once everything is in updated the user enters in a Project Name in cell S2 of the "Consolidated" workbook and selects "Populated Project Name". That's where I have a problem. The "Populate Project Name" is a form control assigned to a macro labeled "ProjectName". This module,"ProjectName, is hard coded in that only tabs with a year ending in 14 for each month works. I'm needing a way to populate each monthly worksheet with the Project Name, which is in T2:V2 (the cells are merged), regardless of the year.
Consolidated.xlsm
Append.xlsm
I have two workbooks where one workbook (""Consolidated") is appended by new tabs from another workbook ("Append").
Once everything is in updated the user enters in a Project Name in cell S2 of the "Consolidated" workbook and selects "Populated Project Name". That's where I have a problem. The "Populate Project Name" is a form control assigned to a macro labeled "ProjectName". This module,"ProjectName, is hard coded in that only tabs with a year ending in 14 for each month works. I'm needing a way to populate each monthly worksheet with the Project Name, which is in T2:V2 (the cells are merged), regardless of the year.
Consolidated.xlsm
Append.xlsm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Again, you nailed it!
YW. As you've seen, recording macros is often a very unsatisfactory way of adding code.
ASKER
Agreed. It does help some in how things need to be written, just as long as you haven't restricted yourself like I have. I use them sometime to jump start myself.
I'm pulling away from ActiveX controls going forward as much as possible with form controls.
Finally, they have approved the workbooks so I'm sending out the finals now with all the little corrections and additions.
Thank you so very much for all your help here.
I'm pulling away from ActiveX controls going forward as much as possible with form controls.
Finally, they have approved the workbooks so I'm sending out the finals now with all the little corrections and additions.
Thank you so very much for all your help here.
I'm happy that you're done with this but I'm surprised that they don't want some things protected or some things hidden like people's hourly rates.
ASKER
They've decided to do that themselves, protecting the worksheets. They've been put on notice that cells with formulas had better be protected.
Regarding the rates. On the last "Consolidated" they took those off.
Regarding the rates. On the last "Consolidated" they took those off.
ASKER
Thanks