Excel - HYPERLINK Worksheet Function

Asked By DavidMessenge
11-Oct-07 05:39 AM
Working in Excel 2000.

Trying to use the HYPERLINK Worksheet Function to Hyperlink from one sheet
to a Cell on another Sheet.

I can get it to work easily by using the Insert Hyperlink Menu etc, or by
VBCode, but I am deliberately trying to use this Worksheet Function (because
I want to use a Named Range (selectable by the user) and NO Macros)

Excel Help File says

another cell. For example, if the active worksheet is the sheet named June in
the workbook named Budget, the following formula creates a hyperlink to cell
E56. The link text itself is the value in cell E56.
=HYPERLINK("[Budget]June!E56", E56)"

When I try this it just keeps bringing up the message "Cannot open specified
file".

Puzzled because I can get the HYPERLINK function to jump to Web pages, other
Excel Files, Word files etc but not within the Active File itself.

Assume I am missing something incredibly obvious ?
Excel
(1)
Word
(1)
Named range
(1)
Worksheet
(1)
HYPERLINK
(1)
INDIRECT
(1)
Workbook
(1)
CELL
(1)
  Pete_UK replied...
11-Oct-07 08:01 AM
Assuming the file you are using is called Budget, then you will need
to add the .xls at the end, like this:

=HYPERLINK("[Budget.xls]June!E56", E56)"

Another way is like this:

=HYPERLINK("#June!E56","jump")

This will give you the message "jump" in the cell.

Here's something a bit more flexible if you want to jump to different
sheets and/or cells:

=HYPERLINK("#'"&A1&"'!E"&B1,"jump")

Put a sheet name in A1 (eg June) and a row number in B1 (eg 10), then
when you click "jump" it will take you to cell E10 in June sheet. Note
the apostophe after the # and before the ! - this will cater for sheet
names in A1 which have spaces in them.

Hope this helps.

Pete


On Oct 11, 10:39 am, David Messenger
  DavidMessenge replied...
11-Oct-07 03:39 PM
Thanks Pete

Tried the # and it worked fine.

The obvious mistakes I was making was I had [Budget] (like in the Help File
text )not [Budget.xls] (I left the extension off). Amazing what a bit of
sleep overnight does.

But the # is handy to know.

The detail of what I was doing was ....
For example I was using Cell A1 to have the text of named range say
Then in Cell A2 I would have something like CELL("address",INDIRECT(A1)) to
get the detailed address of this named range
Then in Cell A3 I would use HYPERLINK(A2,"GO!")

After reattempting after your advice I found this wasn't working because the
text address came back in the general format '[File Name]Sheet'!$A$1. I had
to strip out the ' from the string for it to work.

Thanks again.........
  Pete_UK replied...
11-Oct-07 03:55 PM
You're welcome, David. Thanks for feeding back.

Pete
Create New Account
help
Outils pour optimiser macro? Excel Bonjour: Je souhaiterais savoir s'il existe des outils et ou techniques pour diagnostiquer et la rapidit = E9 de traitement ou les points de ralentissement. Remerciements et sinc = E8res. Christophe Excel - French Discussions WorksheetFunction (1) PageSetup (1) Worksheets (1) Scenarios (1) Interior (1) Borders (1) Sheets Macro ' Macro enregistr = E9e le 29 / 04 / 2003 par Christophe Application.ScreenUpdating = 3D False ' Unprotect Worksheet ActiveWorkbook.Unprotect Password: = 3D"* ** **" Worksheets("Company Data").Select ' save last changes made at Worksheet "Country Appointments" Worksheets("Country Appointments").Select 'ActiveSheet.Unprotect Password: = 3D"* ** **" Cells.Select Cells.EntireColumn.AutoFit colonne A into "Transitory1" (no formulas). Cells.Select Selection.Copy Sheets.Add.Name = 3D "Transitory1" Range("A1").Select Selection.PasteSpecial Paste: = 3DxlAll, Operation: = 3DxlNone, SkipBlanks: = 3DFalse _ , Transpose: = 3DFalse Selection.Columns.AutoFit 'Run macro "SwapTableShowtime" Range is automaticaly selected 'Then result is saved into "Company Appointments worksheet and cell A1 is filled with Date / Time label ActiveSheet.Name = 3D "Transitory1" Columns("A CutCopyMode = 3D False Selection.Delete Shift: = 3DxlToLeft Application.Run "ShowtimeSwapTable" ActiveSheet.Name = 3D "Company Appointments" Range("A1").Select Application.CutCopyMode = 3D False Selection.Font.Bold = 3D True ActiveCell.FormulaR1C1 = 3D "DATE
Win7 VirtualStore Weirdness with Excel 2002 and earlier Excel I thought I'd share a weird experience I had today in case it saves installer for it - - which registers it as an add-in for all installed versions of Excel - - and tested it. Fine in Windows 2000 in all installed versions of Excel. Boot to Windows XP, fine there too. Boot to Windows 7. Fine in Excel 2010, 2007, and 2003. But Excel 2002 and 2000 were still loading the old version of the add-in. I uninstalled the add-in, made sure it was gone, and reinstalled it. Same problem in Excel 2002 and earlier; still works fine in Excel 2003 and later. I opened the VB editor in Excel 2003 and in Excel 2002
List all sheets in the work book and select by double click Excel Hi, I need a macro to list all sheets in a workbook and be able I am already aware of the possibility to right click the symbol left corner in Excel). The code below almost does the job, but I have to write the number corresponding As Single mySht = InputBox("Select sheet to go to." & vbCr & vbCr & myList) Sheets(mySht).Select Excel Programming Discussions ControlFormat (1) ChartArea (1) TextFrame (1) Hyperlinks (1) Interior (1) Shapes (1) Sheets (1) Excel (1) In a standard module: Option Explicit Sub ListSheets() Dim i As Integer Load fGoToSheet i).Name Next 'i fGoToSheet.Show End Sub In the code window behind a userform named "fGoToSheet": Option Explicit Private Sub CommandButton1_Click() Unload Me End Sub Private Sub ListBox1_DblClick(ByVal Cancel Box with the sheet names in it, or you could write the sheetnames to a worksheet and use Hyperlink to access the individual sheets. I know this is not what you asked for, but through the whole process. Go to the Visual Basic editor (press Alt+F11 from any worksheet). Once there, click Insert / UserForm form the menu bar. You will see a blank form
Hyperlink File Path Changes. Hair loss imminent. Excel I have an excel workbook (Office 2000) which contains a column of hyperlinks on several sheets. To word documents that were organised in a file tree like the following example: c: \ DOCUMENTS \ SHARED the text displayed in the cells is in the forwardslash format whereas the files are named with underscores. I have tried David McRitchies site with no luck and trawled here and threads but none that have worked. I eagerly await some guidance. Cheers. Moved from LINKS Excel Discussions Hyperlinks (1) Office (1) Excel (1) ActiveSheet.Hyperlinks (1) PutNewBrandOnThem (1) Worksheet (1) I dont know if this will help with a solution, but to fix one
VBA Regular Expressions & URL Extraction Excel Greetings all, I am trying to extract the URLs of a set of animated movies off various sites using regular expressions and then dump those URLs into an Excel document (via VBA). I have a decent grasp of regex but I have hit a can any of you guys spot what I'm doing wrong? Thanks for your help! Excel Programming Discussions Windows XP (1) RegexURL.Execute (1) Excel 2003 (1) Excel (1) Worksheet (1) VBA (1) MyData.GetFromClipboard (1) MyRegExp.IgnoreCase (1) Hi, If. Let me stress that IF this were a hyperlink on a webpage " / site / olspage.jsp" would be pointing to the subfolder " / site" and the file "olspage.jsp" on the WEBSERVER and would function. As a hyperlink in Excel this will not work without the http: / / www. unless you have a folder