Excel Reference Tab Name Based On Cell

Right click the worksheet in the sheet tab that you will dynamically name it by a cell value and select view code from the right clicking menu.
Excel reference tab name based on cell. A reference to a cell as a text string. For example indirect old value indirect new value where old value a5 and new value b5. Current tab you can use a formula based on the cell function. To use this reference you have to activate the r1c1 reference from the file options excel options formulas working with formulas check r1c1 reference style use defined names as reference.
Click on the tab for sheet1 and in cell b2 enter the following formula. Please do as follow to reference the active sheet tab name in a specific cell in excel. Firstly let s fill in the workbook information including the workbook name worksheet name and reference cells which you will pull data based on this information into current workbook. Select a blank cell copy the below formula into it and press the enterkey.
In the opening microsoft visual basic for applications window paste the following vba code into the module window. Right click the sheet tab which you want to make the sheet name equal to cell value then click view codefrom the right clicking menu. Indirect a2 a1 without the quotation marks before the equals sign or after the final parentheses. Reference the current sheet tab name in cell with formula.
Select a blank cell to locate the sheet tab name enter the below formula into it and then press the enterkey. Make sheet tab name equal to cell value with vba code. To get the name of the current worksheet i e. Once you hit enter the formula will evaluate and the cell will show the word orange.
Easily reference the current sheet tab name in cell with kutools for excel. Select a blank cell copy and paste the formula mid cell filename a1 find cell filename a1 1 255 into the formula bar and the press the enterkey. In the example shown.