Hello. How do I return all tab names down a column in master sheet. So, A1= Sheet 1 name, A2, Sheet 2 name, etc.
Hello. How do I return all tab names down a column in master sheet. So, A1= Sheet 1 name, A2, Sheet 2 name, etc.
Also, this can be done without VBA strictly with formulas:Please Login or Register to view this content.
Tony Valko's Awesome Sheet List Formula
Last edited by daffodil11; 06-03-2015 at 02:27 PM.
Make Mom proud: Add to my reputation if I helped out!
Make the Moderators happy: Mark the Thread as Solved if your question was answered!
That VBA procedure would not, however it could be coded to that worksheet's specific coding to update whenever you select it.
Here is an example of the code you would apply to the master sheet to autoupdate:
Please Login or Register to view this content.
i see... thanks for the info..
i'm really looking for ways as well on sheetname variations and i'm also having a very hard time since it's all VBA.
What do you mean with sheetname variations?
well, I'm wanting to achieve two scenarios actually...
1. that a sheetname would change depending on a certain cell result, and
2. that a cell from a master sheet would now adopt to the changes made on the sheetnames from the first condition.
A cell can dictate a sheet's name, sure.
That worksheet's code would be something like:
And when you select the master, it would rewrite all of the sheet names to stay up to date.Please Login or Register to view this content.
sorry sir, i'm quite confused..
does that code change the sheetname or change the cell name that copies the sheetname?
This code self-activates whenever the worksheet it's applied to changes the value of Cell A1.
As soon as you hit Enter, the worksheet name changes to the words in A1.
The previous code for Workbook_Activate would still apply, so that when you went back to the Master tab it would re-grab each worksheet name.
Here is an example for you to play with.
Event code goes directly on the worksheet it applies to, not in a Module. Examine my example to see what goes where.
kindly check on the codes sir:
Please Login or Register to view this content.
You can't have two macros with the identical names, you'll need to combine the various Events.
Please Login or Register to view this content.
Depends how you choose it. Are you typing or just picking from the list?
Are there any formulas on the worksheet that depend on H8?
yeah there are as well... the Percentile Scores changes everytime there is a change on the data chosen from the list on H8
would you mind taking a look at the sheet I'm working on?
ECR1.xlsm
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks