How do you link part of a sheet tab to an excel cell?
-
I have a file that has a few different worksheets. Each sheet tab is the same every month except that I need to add the month to it. For example, every month one tab is "Cash- February", another will be "Credit- February", etc. Is there any way I can keep the one part of the tab that says cash or credit the same and link the month to a sheet tab in excel, so that once I change the month name on my worksheet all the tabs change? Please let me know if you have any suggestions, I have a number of tabs and it becomes very tedious. Thank you!
-
Answer:
You can create a User Defined Formula to do this quite easily - it's not as scary as it sounds... Press Alt F11 to open the Visual Basic Editor. Go to the Insert Menu and select module In the main window copy and paste this code (the next 4 lines) Function getTabName(r As Range) 'this function gives the worksheet name of the specified cell getTabName = r.Worksheet.Name End Function Once you've done this go to Click the file menu and Close and Return to Excel Now back on your worksheet you can just use the formula =getTabName(A1) and it will give you the sheet name. - you could equally point a cell to another sheet if that was useful - e.g. in sheet1 cell a2 I could have =getTabName(Sheet2!A1) which would simply read Sheet2 Hope this helps.
newbie at Yahoo! Answers Visit the source
Related Q & A:
- How to place a different background image on each part of a book?Best solution by TeX - LaTeX
- How to programmatically open a new tab on Safari iPad?Best solution by whoknew.dk
- Dose anyone know how to make a toga without cutting a sheet?Best solution by Yahoo! Answers
- How do i turn on add a tab to my tool bar?Best solution by Yahoo! Answers
- How do you link photos to a question?
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.