andreascostas
Board Regular
- Joined
- Jan 11, 2011
- Messages
- 150
Is there a way to insert the name on the tab of an excel sheet into cell A1
without having to type it every time?
without having to type it every time?
You need to have the A1 (or any cell on the worksheet) else if you are on another sheet when it calculates it will give you the name of the activesheet in the cell.
I disagree. The cell reference should be included in the second part as well. If not, that blue part will return the file name of theOkay, but it's only necessary in the first part,
=MID(CELL("filename",A1),FIND("]",CELL("filename"))+1,31)
=REPLACE(CELL("filename",A1),1,FIND("]",CELL("filename",A1)),"")
Syntax
CELL(info_type, [reference])
The CELL function syntax has the following arguments:
Argument
Description
info_type
Required
A text value that specifies what type of cell information you want to return. The following list shows the possible values of the Info_type argument and the corresponding results.
reference
Optional
The cell that you want information about. If omitted, the information specified in the info_type argument is returned for the last cell that was changed. If the reference argument is a range of cells, the CELL function returns the information for only the upper left cell of the range.
I disagree. The cell reference should be included in the second part as well. If not, that blue part will return the file name of the file in which the most recent cell was changed**
** From the CELL function Help
Then how do you account for this?It doesn't matter,