Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wally
 
Posts: n/a
Default Can cell get tab value

Can a cell show the worksheet tab value?

My worksheet tab and my title cell in my worksheet must have the same
value. can one read the other so I only have to input the information
once?

Thanks

Wally





  #2   Report Post  
Paul B
 
Posts: n/a
Default

Wally, have a look here, http://www.xldynamic.com/source/xld.xlFAQ0002.html

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Wally" wrote in message
...
Can a cell show the worksheet tab value?

My worksheet tab and my title cell in my worksheet must have the same
value. can one read the other so I only have to input the information
once?

Thanks

Wally







  #3   Report Post  
David McRitchie
 
Posts: n/a
Default

Hi Wally,
See my http://www.mvps.org/dmcritchie/excel/sheets.htm
page for questions on sheets
see my http://www.mvps.org/dmcritchie/excel/pathname.htm
page for questions on extracting pathname, workbook name, sheetname

VBA cell value gets worksheet tab value
range("a1") = application.activesheet.name

VBA worksheet tab gets cell value
ActiveSheet.Name = Range("a1")

you might also be interested in formatting with a date (with or w/o the prefix)
ActiveSheet.Name = "D" & Format(Date, "yyyymmdd")
ActiveSheet.Name = "D" & Format(Range("a1"), "yyyymmdd")
ActiveSheet.Name = "D" & Format(Range("a1"), "yyyy_mmdd_hhmm")

worksheet function cell value gets worksheet tab value
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
« The CELL formulas with "filename" will not work until the file has been saved (#VALUE! error).
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Wally" wrote in message ...
Can a cell show the worksheet tab value?

My worksheet tab and my title cell in my worksheet must have the same
value. can one read the other so I only have to input the information
once?

Thanks

Wally







  #4   Report Post  
David McRitchie
 
Posts: n/a
Default

and since you don't care which you change, you should be
changing the sheetname, because you can't have two sheets
with the same name so that would be the easiest way to go
and not have to worry about intercepting errors.


  #5   Report Post  
Krishnakumar
 
Posts: n/a
Default


Hi,

Try,

Define *X*

=GET.DOCUMENT(76)&T(NOW())

Now in the cell,

=MID(X,FIND("]",X)+1,255)

Note: It works in an unsaved workbook also.

See 'here also'
(http://www.ozgrid.com/forum/showthre...highlight=nice)

HTH


--
Krishnakumar


------------------------------------------------------------------------
Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138
View this thread: http://www.excelforum.com/showthread...hreadid=391622



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Cell Change Color - Need Help alani New Users to Excel 3 June 29th 05 03:50 PM
Pasting Word table cell with paragraph markers into single Excel c Steve Excel Discussion (Misc queries) 1 June 16th 05 11:26 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 05:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"