#1   Report Post  
Posted to microsoft.public.excel.misc
JJ JJ is offline
external usenet poster
 
Posts: 122
Default Hyperlink

Hi

How do I hyperlink a cell to more than one PDF files?

Thanks

JJ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 457
Default Hyperlink

You don't/cant. You could hyperlink to the folder containing multiple pdf
files, however.

--
Best Regards,

Luke M
"JJ" wrote in message
...
Hi

How do I hyperlink a cell to more than one PDF files?

Thanks

JJ



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Hyperlink

Or maybe you could replace the hyperlink with a macro that opens both .pdf
files???

Or (untested), you could hyperlink to a .bat or .vbs file that runs and opens
both files.

JJ wrote:

Hi

How do I hyperlink a cell to more than one PDF files?

Thanks

JJ


--

Dave Peterson
  #4   Report Post  
Senior Member
 
Location: Hyderabad
Posts: 237
Thumbs up

Quote:
Originally Posted by JJ View Post
Hi

How do I hyperlink a cell to more than one PDF files?

Thanks

JJ
putting more than one hyperlink in a call.

http://excel.tips.net/Pages/T002805_..._a_Cell. html

all the best
__________________
Thanks
Bala
  #5   Report Post  
Posted to microsoft.public.excel.misc
JJ JJ is offline
external usenet poster
 
Posts: 122
Default Hyperlink

Dave
can you guide me as to hyperlink with a macro as this seems to be the better
option. I am not good with macros.

tx

"Dave Peterson" wrote:

Or maybe you could replace the hyperlink with a macro that opens both .pdf
files???

Or (untested), you could hyperlink to a .bat or .vbs file that runs and opens
both files.

JJ wrote:

Hi

How do I hyperlink a cell to more than one PDF files?

Thanks

JJ


--

Dave Peterson
.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Hyperlink

If it's just a single cell that has that hyperlink...

Format the cell nicely -- make it look like a hyperlink (but make sure you
remove any existing hyperlink).

Now show the Drawing toolbar
View|Toolbars
in xl2003 menus

Place a rectangle over that cell so that it covers the text you want to make
look like a hyperlink.

You can hide the borders so that it looks pretty later.

Now hit alt-f11 (to get to the VBE, where macros live).
Click on Insert|Module on the VBE's toolbar.

Paste this into the newly opened Code window -- usually on the right hand side:

Option Explicit
Sub LoadPDFs()
ThisWorkbook.FollowHyperlink "C:\my documents\firstfile.pdf"
ThisWorkbook.FollowHyperlink "C:\my documents\secondfile.pdf"
End Sub

You'll have to change the path and filename for both files.

Now hit alt-f11 to get back to excel.

Rightclick on the rectangle and choose Assign macro
Point at LoadPDFs
and click ok

Then test it.

If it works, then it's time to hide the borders of the rectangle (if you want).

Rightclick on the rectangle
choose Format|autoshape
On the Colors and Lines tab, choose "no line" for the line





JJ wrote:

Dave
can you guide me as to hyperlink with a macro as this seems to be the better
option. I am not good with macros.

tx

"Dave Peterson" wrote:

Or maybe you could replace the hyperlink with a macro that opens both .pdf
files???

Or (untested), you could hyperlink to a .bat or .vbs file that runs and opens
both files.

JJ wrote:

Hi

How do I hyperlink a cell to more than one PDF files?

Thanks

JJ


--

Dave Peterson
.


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Hyperlink

ps.

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

You'll have to add something that unprotects the sheet near the beginning and
reprotects the sheet at the end.

JJ wrote:

Dave
can you guide me as to hyperlink with a macro as this seems to be the better
option. I am not good with macros.

tx

"Dave Peterson" wrote:

Or maybe you could replace the hyperlink with a macro that opens both .pdf
files???

Or (untested), you could hyperlink to a .bat or .vbs file that runs and opens
both files.

JJ wrote:

Hi

How do I hyperlink a cell to more than one PDF files?

Thanks

JJ


--

Dave Peterson
.


--

Dave Peterson
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
Paste Hyperlink result as working hyperlink Bod Excel Worksheet Functions 2 January 22nd 10 04:22 AM
Can't make hyperlink function work for hyperlink to website Frank B Denman Excel Worksheet Functions 15 February 5th 07 11:01 PM
How do I create a hyperlink to a cell with the hyperlink function S. Bevins Excel Worksheet Functions 2 July 20th 06 08:06 PM
Moving rows with Hyperlink doesn't move hyperlink address Samad Excel Discussion (Misc queries) 15 June 22nd 06 12:03 PM
Intra-workbook hyperlink: macro/function to return to hyperlink ce marika1981 Excel Discussion (Misc queries) 3 May 6th 05 05:47 AM


All times are GMT +1. The time now is 06:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"