Quick (easy) question....

Robin

New Member
Joined
Feb 26, 2002
Messages
16
Hi,

Is there a function I can use that returns the sheet tab name?

There must be! Thanks in advance guys.

Robin
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi,

There is not a function that I know of, but someone here may well know of one.

I know you can use VBA to do it.

If you wanted cell A1 to display the tagname you could use:

Sub Insert_Tag_Name()
ActiveSheet.Range("A1") = ActiveSheet.Name
End Sub

Hope this helps,

Nibbs
 
Upvote 0
On 2002-04-29 02:06, Robin wrote:
Hi,

Is there a function I can use that returns the sheet tab name?

There must be! Thanks in advance guys.

Robin

In some cell or even in A1 in the target sheet enter:

=CELL("filename",A1)

In A2 enter:

=MID(A1,SEARCH("]",A1)+1,LEN(A1)-SEARCH("]",A1))

where A1 houses the first formula.
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,205
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top