Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I Hyperlink to document using filename in cell?

I am trying to use the =hyperlink formula in conjunction with a cell
reference to open a word document.

All the files share a common path to a folder, that contains files that
correspond to a list in an excel spreadsheet.

Can anyone help of the syntax? Or is this impossible

Mank Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How do I Hyperlink to document using filename in cell?

In A1 & A2:

C:\test\
sample.doc

then in another cell:
=HYPERLINK(A1 & A2)
--
Gary''s Student - gsnu200819
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
~L ~L is offline
external usenet poster
 
Posts: 177
Default How do I Hyperlink to document using filename in cell?

The trick here is that the path must be text and you can make use of the
ampersand & to join cells into your string.

Where A1 contains the filename:

=hyperlink("C:\YourFilePath\Here\" &A1, "Follow Me!")

If you don't want to type the extension into A1,

=hyperlink("C:\YourFilePath\Here\" &A1 &".xls", "Follow Me!")

"Matt Bennette" wrote:

I am trying to use the =hyperlink formula in conjunction with a cell
reference to open a word document.

All the files share a common path to a folder, that contains files that
correspond to a list in an excel spreadsheet.

Can anyone help of the syntax? Or is this impossible

Mank Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default How do I Hyperlink to document using filename in cell?

Genius........

Thank you, I tried so many combinations was starting to get a little cross.

"~L" wrote:

The trick here is that the path must be text and you can make use of the
ampersand & to join cells into your string.

Where A1 contains the filename:

=hyperlink("C:\YourFilePath\Here\" &A1, "Follow Me!")

If you don't want to type the extension into A1,

=hyperlink("C:\YourFilePath\Here\" &A1 &".xls", "Follow Me!")

"Matt Bennette" wrote:

I am trying to use the =hyperlink formula in conjunction with a cell
reference to open a word document.

All the files share a common path to a folder, that contains files that
correspond to a list in an excel spreadsheet.

Can anyone help of the syntax? Or is this impossible

Mank Thanks

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
How can I hyperlink from an excel cell to a page in a pdf document SnobbishJade Excel Worksheet Functions 0 September 18th 06 07:27 PM
Hyperlink using filename trimm54 Excel Worksheet Functions 2 February 15th 06 11:41 AM
hyperlink filename # HAS Excel Discussion (Misc queries) 1 December 21st 05 04:07 PM
HELP: Acrobat 7 document via hyperlink in cell [email protected] Links and Linking in Excel 1 May 12th 05 10:10 PM
Hyperlink in Excel cell to open PDF document in another directory John Links and Linking in Excel 0 March 19th 05 04:45 AM


All times are GMT +1. The time now is 09:57 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"