If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Excel 2002 Print Workbook Tab Description
How do you print the Tabs description on a workbook within the the worksheet
itself.? Each tab has an apt# and tenant last name and would like to print on the worksheet and not in the header or footer. Thanks Dave |
#2
|
|||
|
|||
Excel 2002 Print Workbook Tab Description
Hi Dave,
This is a formula from J.E. McGimpsey: =MID("C:\Documents and Settings\mgraesser\My Documents\[Excel Help1.xls]Functions", FIND("]", CELL("filename",A1))+1, 255) It will return the tab name on the worksheet. Good Luck, Mark Graesser Boston MA ----- DLC wrote: ----- How do you print the Tabs description on a workbook within the the worksheet itself.? Each tab has an apt# and tenant last name and would like to print on the worksheet and not in the header or footer. Thanks Dave |
#3
|
|||
|
|||
Excel 2002 Print Workbook Tab Description
That did not work for me. Either of the following did, however:
=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255) =RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename"))) "Mark Graesser" wrote in message ... Hi Dave, This is a formula from J.E. McGimpsey: =MID("C:\Documents and Settings\mgraesser\My Documents\[Excel Help1.xls]Functions", FIND("]", CELL("filename",A1))+1, 255) It will return the tab name on the worksheet. Good Luck, Mark Graesser Boston MA ----- DLC wrote: ----- How do you print the Tabs description on a workbook within the the worksheet itself.? Each tab has an apt# and tenant last name and would like to print on the worksheet and not in the header or footer. Thanks Dave |
#5
|
|||
|
|||
Excel 2002 Print Workbook Tab Description
Mark
From a Chip Pearson post........... When using the CELL function, it is VERY important to include the second argument, called 'reference', in the call. You can use any cell as this reference -- it doesn't matter for "filename". The reason you want to include the argument is that if another sheet is active with the formula is calculated (for example, if Excel decides to do a full recalculation), the Active Sheet is used by CELL, not the sheet that contains the formula. To see what happens without the 'reference' argument, enter your formula in A1 on Sheet1. Then flip over to Sheet2, and press CTRL+ALT+F9 to force a total recalculation. Now go back to Sheet1. You'll see that the result is Sheet2, not Sheet1. This is because when the formula was calculated, the Active Sheet is used by CELL, not the sheet containing the formula. End Chip's post...................... Gord Dibben Excel MVP On Tue, 11 May 2004 13:21:03 -0700, "Mark Graesser" wrote: I should have looked at what I was copying from my function library. Your right of course, it should have been: =MID(CELL("filename",A1), FIND("]", CELL("filename",A1))+1, 255) but I see from your formula that you don't need the A1 cell reference. Thanks, Mark Graesser Boston MA |
Thread Tools | |
Display Modes | |
|
|