Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

dynamic hyperlinking

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Dynamic Hyperlinking!

Dynamic Hyperlinking!

ResolvedVersion 2003

Gareth has attended:
Excel VBA Intro Intermediate course
Excel Intermediate course
Excel Advanced course

Dynamic Hyperlinking!

Hey,

I want to insert a hyperlink that takes a value from a column to help search and find the matching file in the destination folder.

For example in column D I have a client number along the lines of 56/GH/8976/098. I want Excel to take that value of column D, then link in to the file with the same name in the folder I want the hyperlink to go to.

I can do straight forward hyperlinks to a document that is fixed but I cant do one that will look up different names.

Any help with this much appreciated.

Thanks in advance.

RE: Dynamic Hyperlinking!

Hi Gareth,

Thank you for your question.

I have come up with a possible solution which I will outline below:

=HYPERLINK(CONCATENATE("C:\",D1,".xls"),D1)

This function will combine the location of the file with the value specified in the cell and file type and finally the value from the cell displayed as the hyperlink name.

As you are trying to link the client code with the filename, the client code cannot contain a / or a \ as excel files cannot be saved with a / or \ in the filename.

In a blank cell next to the client number, enter the formula above but change the cell reference and filename as appropriate. Copy and paste the formula where appropriate.

I hope this answers your question.

Regards

Simon

Fri 26 Jun 2009: Automatically marked as resolved.

Excel tip:

LARGE and SMALL functions and their uses

Two of Excel's most common functions are the MAX and MIN functions which will display the largest (MAX) or smallest (MIN) value in a series. What if you need the 2nd or 3rd largest or smallest values instead of the largest or smallest?

The =LARGE(array,n) returns the nth largest value of a series.

The =SMALL(array,n) function returns the nth smallest value of a series.

In both functions, 'n' represents the order of the number you want to display. For example, putting in 2 as n will give you the second highest number; putting in 3 as n will give you the third highest number.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.