ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Maniuplating Worksheet Tabs (https://www.excelbanter.com/excel-programming/361763-maniuplating-worksheet-tabs.html)

Joe[_44_]

Maniuplating Worksheet Tabs
 
I have a formula that is trying to take for example the word "Hello" from a
worksheet tab. Is that even possible?

Thanks!!

Mike Q.

Maniuplating Worksheet Tabs
 
Here is one way

=MID(CELL("FILENAME",A1),FIND("]",CELL("FILENAME",A1))+1,225)
--
Mike Q.


"Joe" wrote:

I have a formula that is trying to take for example the word "Hello" from a
worksheet tab. Is that even possible?

Thanks!!


John.Greenan

Maniuplating Worksheet Tabs
 
You can get the name of a sheet with a user defined function

Create a standard module and add this function

Function SheetName() As Variant
SheetName = Application.Caller.Worksheet.Name
End Function


in a cell in the sheet you are interested in type in the formula =sheetname()
and it will return the name of the sheet.

Is that what you are looking for???

--
www.alignment-systems.com


"Joe" wrote:

I have a formula that is trying to take for example the word "Hello" from a
worksheet tab. Is that even possible?

Thanks!!


Joe[_44_]

Maniuplating Worksheet Tabs
 
Thanks very much to both posters, the first poster helped do the job for
me.

Thanks again!!

?B?Sm9obi5HcmVlbmFu?=
wrote in :

You can get the name of a sheet with a user defined function

Create a standard module and add this function



All times are GMT +1. The time now is 02:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com