![]() |
Excel help Sheet Name...linking into Spreadsheet
Hi all
Quick Excel question ! I have a spreadsheet with lots of named pages...ie tabs at the bottom. Can I link these into the actaul spreadsheet rather then typing them all in or setting headers. Ie in a cell sort of : A1 = sheet name. Any ideas Thanks Mike |
Re: Excel help Sheet Name...linking into Spreadsheet
I done a search for linking worksheets to cells in excel, and it gave me this:
Examples The following example opens a worksheet named Budget Report.xls that is stored on the Internet at the location named example.microsoft.com/report and displays the text "Click for report": =HYPERLINK("http://example.microsoft.com/report/budget report.xls", "Click for report") The following example creates a hyperlink to cell F10 on the worksheet named Annual in the workbook Budget Report.xls, which is stored on the Internet at the location named example.microsoft.com/report. The cell on the worksheet that contains the hyperlink displays the contents of cell D1 as the jump text: =HYPERLINK("[http://example.microsoft.com/report/budget report.xls]Annual!F10", D1) The following example creates a hyperlink to the range named DeptTotal on the worksheet named First Quarter in the workbook Budget Report.xls, which is stored on the Internet at the location named example.microsoft.com/report. The cell on the worksheet that contains the hyperlink displays the text "Click to see First Quarter Department Total": =HYPERLINK("[http://example.microsoft.com/report/budget report.xls]First Quarter!DeptTotal", "Click to see First Quarter Department Total") although you don't have to use an internet domain name, you could just navigate to the file you want, and it should find the file, and get the required data. ik EDIT: or this: create a link between cells in the same worksheet or workbook
if on the same workbook =sheet2!B2 (uses value in cell B2 on worksheet 2) |
Re: Excel help Sheet Name...linking into Spreadsheet
As Ikthius said you can create hyperlinks to a complete sheet - but I am wondering if you want to link to a CELL in a different sheet. If so it's as easy as putting your forumula in the cell and then (instead of clicking to get the value of a cell on that sheet) click the tab of the sheet you want, then the cell in that sheet, and press enter.
|
Re: Excel help Sheet Name...linking into Spreadsheet
I have a spreadsheet with about 30 named sheets and I want to copy a formula on each sheet to 'pick up' the sheet name. Hope that makes sense.
Thanks Mike |
Re: Excel help Sheet Name...linking into Spreadsheet
Use this forumula
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,34) Basically the =(cell("filename")) function returns - c:\data\[book1.xls]sheetname The formula above returns whatever is after the ] ie the sheetname. |
Re: Excel help Sheet Name...linking into Spreadsheet
Quote:
Mike |
Re: Excel help Sheet Name...linking into Spreadsheet
Quote:
|
Re: Excel help Sheet Name...linking into Spreadsheet
Quote:
Worked many thanks for everyone help :tu: :tu: |
Re: Excel help Sheet Name...linking into Spreadsheet
If you created a Module and add this code to it, the sheet names will appear in the first column on Sheet1.
Quote:
It's basic, but does the job. |
Re: Excel help Sheet Name...linking into Spreadsheet
Changed it Slightly to be a bit more generic
|
Re: Excel help Sheet Name...linking into Spreadsheet
Quote:
thanks Mike |
Re: Excel help Sheet Name...linking into Spreadsheet
Tools ... Macro ... Visual basic Editor .... Insert ... Module
Paste the code in, save ... and away you go :D |
Re: Excel help Sheet Name...linking into Spreadsheet
Quote:
Complicated! :) This does the same.. Quote:
|
Re: Excel help Sheet Name...linking into Spreadsheet
Quote:
|
Re: Excel help Sheet Name...linking into Spreadsheet
k, with a little more playing ...
Create a Module, as per above. Put this code in. Quote:
Quote:
In addition there is a Macro which can be used when things have been changed, added or removed. |
| All times are GMT. The time now is 11:36. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum