PC Review


Reply
Thread Tools Rate Thread

cell needs to show tab text

 
 
klee
Guest
Posts: n/a
 
      19th Jun 2008
I have a multi-tabbed workbook. I would like to link a cell to the text
entered on the worksheet tab... I've seen it done before - but don't know how
they were able to do that... Can someone fill me in?

Thanks!
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      19th Jun 2008
Hi,

Try this

=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

The workbook must be saved for it to work.

Mike

"klee" wrote:

> I have a multi-tabbed workbook. I would like to link a cell to the text
> entered on the worksheet tab... I've seen it done before - but don't know how
> they were able to do that... Can someone fill me in?
>
> Thanks!

 
Reply With Quote
 
klee
Guest
Posts: n/a
 
      19th Jun 2008
Mike,
Thanks. I tried that - however - - - it only kinda worked... Here's whats
happening...
I have 8 tabs in this workbook. I entered this formula separately on to
each worksheet - but regardless of which worksheet I placed it on the same
result appears on each... for example, text from tab one appears on all other
worksheets.

"Mike H" wrote:

> Hi,
>
> Try this
>
> =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)
>
> The workbook must be saved for it to work.
>
> Mike
>
> "klee" wrote:
>
> > I have a multi-tabbed workbook. I would like to link a cell to the text
> > entered on the worksheet tab... I've seen it done before - but don't know how
> > they were able to do that... Can someone fill me in?
> >
> > Thanks!

 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      19th Jun 2008
Hi,

I'm at a complete loss to explain that prehaps someone else can.

Mike

"klee" wrote:

> Mike,
> Thanks. I tried that - however - - - it only kinda worked... Here's whats
> happening...
> I have 8 tabs in this workbook. I entered this formula separately on to
> each worksheet - but regardless of which worksheet I placed it on the same
> result appears on each... for example, text from tab one appears on all other
> worksheets.
>
> "Mike H" wrote:
>
> > Hi,
> >
> > Try this
> >
> > =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)
> >
> > The workbook must be saved for it to work.
> >
> > Mike
> >
> > "klee" wrote:
> >
> > > I have a multi-tabbed workbook. I would like to link a cell to the text
> > > entered on the worksheet tab... I've seen it done before - but don't know how
> > > they were able to do that... Can someone fill me in?
> > >
> > > Thanks!

 
Reply With Quote
 
Nayab
Guest
Posts: n/a
 
      19th Jun 2008
On Jun 19, 11:42*pm, Mike H <Mi...@discussions.microsoft.com> wrote:
> Hi,
>
> I'm at a complete loss to explain that prehaps someone else can.
>
> Mike
>
>
>
> "klee" wrote:
> > Mike,
> > Thanks. *I tried that - however - - - it only kinda worked... Here's whats
> > happening...
> > I have 8 tabs in this workbook. *I entered this formula separately onto
> > each worksheet - but regardless of which worksheet I placed it on the same
> > result appears on each... for example, text from tab one appears on allother
> > worksheets.

>
> > "Mike H" wrote:

>
> > > Hi,

>
> > > Try this

>
> > > =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

>
> > > The workbook must be saved for it to work.

>
> > > Mike

>
> > > "klee" wrote:

>
> > > > I have a multi-tabbed workbook. *I would like to link a cell to the text
> > > > entered on the worksheet tab... I've seen it done before - but don't know how
> > > > they were able to do that... *Can someone fill me in?

>
> > > > Thanks!- Hide quoted text -

>
> - Show quoted text -


Make this function :::
Function sheet_name(sheet_index As Integer) As String
sheet_name = Worksheets(sheet_index).Name
End Function

and then call it from the cell as sheet_name(1)
 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      19th Jun 2008
Make sure you include a reference to the worksheet you want:

=MID(CELL("filename",a1),FIND("]",CELL("filename",a1))+1,255)

Otherwise, excel will use the activeworkbook/activeworksheet when it evaluates
that formula.

You can use any cell on the sheet. I like to use the cell that contains the
formula.

klee wrote:
>
> Mike,
> Thanks. I tried that - however - - - it only kinda worked... Here's whats
> happening...
> I have 8 tabs in this workbook. I entered this formula separately on to
> each worksheet - but regardless of which worksheet I placed it on the same
> result appears on each... for example, text from tab one appears on all other
> worksheets.
>
> "Mike H" wrote:
>
> > Hi,
> >
> > Try this
> >
> > =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)
> >
> > The workbook must be saved for it to work.
> >
> > Mike
> >
> > "klee" wrote:
> >
> > > I have a multi-tabbed workbook. I would like to link a cell to the text
> > > entered on the worksheet tab... I've seen it done before - but don't know how
> > > they were able to do that... Can someone fill me in?
> > >
> > > Thanks!


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bold text of referenced cell show in formula cell zabcikranch Microsoft Excel Worksheet Functions 1 2nd Feb 2010 07:42 PM
grab cell text from multi-tab workbook, show text in another workb =?Utf-8?B?cGZh?= Microsoft Excel Worksheet Functions 15 10th Aug 2007 08:50 PM
show different text in cell based on range of #s in other cell =?Utf-8?B?c2t5?= Microsoft Excel Programming 1 13th Feb 2006 10:06 PM
show different text in a text box depending on cell value =?Utf-8?B?Sm9obiBEYXZpZXM=?= Microsoft Excel Programming 1 29th Jul 2005 10:50 AM
How to set a default cell value if left blank, otherwise show text in cell? Toby Erkson Microsoft Excel Worksheet Functions 2 5th Apr 2004 06:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:52 AM.