Computing.Net > Forums > Office Software > Hyperlinking problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Hyperlinking problem

Reply to Message Icon

Name: Smergol
Date: October 15, 2009 at 17:26:53 Pacific
OS: Windows XP
Product: Microsoft Excel 2007 home and student
Subcategory: Microsoft Office
Comment:

I have an Excel file with book information in it and another folder with the book cover and fly photos. I would like to Hyperlink from a cell in the Excel file to the cover photo or fly photo – easy I know :-
=HYPERLINK(“Book Photos\Book Name.jpg”,”Click for Photo”)
But I have hundreds of them! Is there a way to go to Cell A of the Row, extract the name, add .jpg to that name and then insert it into the first part of the Hyperlink formula? And automatically do it to all the other Rows??



Sponsored Link
Ads by Google

Response Number 1
Name: Mike (by mmcconaghy)
Date: October 15, 2009 at 17:54:55 Pacific
Reply:

How are the photos named?

If it's something like:

Photo01.jpg
Photo02.jpg
Photo03.jpg

You could simply put the word Photo in Cell A1
then start your numbering in Cell B1
and add the text string .jpg in Cell C1

Then combine them all in D1 with your =HYPERLINK() function.

A lot is going to depend on how you named your photos.

MIKE

http://www.skeptic.com/


-1

Response Number 2
Name: Smergol
Date: October 15, 2009 at 18:41:02 Pacific
Reply:

H Mike,
The name in column A is the same as the photo name minus the .jpg extension. Column B is the authors name, C publisher, D Shelf, etc.
So Cell A would be Of Mice and Men, The photos name is Of Mice and Men.jpg


0

Response Number 3
Name: Mike (by mmcconaghy)
Date: October 15, 2009 at 20:24:25 Pacific
Reply:

If the name of the photo is in Cell A1, then
In an empty cell like AA1 you would put the formula:

=A1&".jpg"

You now have your photo name with the .jpg extension.

To actually view the photo you need to enter the complete path to the directory where that photo resides, something like:
C:\Documents and Settings\Owner\My Documents\My Pictures\

Then in an empty cell, like AB1 you can then put in a formula like:

=HYPERLINK("C:\Documents and Settings\Owner\My Documents\My Pictures\"&AA1,"Click for Photo:")

Just drag cells AA1 down as many photos as you have then drag down cell AB1 for as many photos.

MIKE

http://www.skeptic.com/


1

Response Number 4
Name: DerbyDad03
Date: October 15, 2009 at 20:29:08 Pacific
Reply:

Since the hyperlink will need the path to the photo, you might try something like this:


=HYPERLINK("C:\Documents and Settings\username\Desktop\"&A1&".jpg",
"Click for Photo')


1

Response Number 5
Name: Smergol
Date: October 15, 2009 at 21:40:26 Pacific
Reply:

Thanks DerbyDad & Mike - Worked a treat, much obliged.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon





Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Hyperlinking problem

hyperlink problem in Office 2003 www.computing.net/answers/office/hyperlink-problem-in-office-2003/4836.html

Automatic Hyperlink Problems www.computing.net/answers/office/automatic-hyperlink-problems/6392.html

Problems with hyperlink in outlook www.computing.net/answers/office/problems-with-hyperlink-in-outlook-/6888.html