#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default hyperlink to files?

If i have a list of drawing numbers.. such as 2200034567, 2200034568
in a column in excel, with a description of each file in the next
column over, and all of those files are located in one folder.. is
there a way i can use one general equation to have excel search for
that file in the folder and open it if you clicked on the 22 number?

Thanks for any help in advance!!


i know there are ways to do it.. i just dont have the time to
hyperlink 15,000 drawings...

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default hyperlink to files?

what application would be used to open the drawings and what is the file
extension? .dwg?

Mike

" wrote:

If i have a list of drawing numbers.. such as 2200034567, 2200034568
in a column in excel, with a description of each file in the next
column over, and all of those files are located in one folder.. is
there a way i can use one general equation to have excel search for
that file in the folder and open it if you clicked on the 22 number?

Thanks for any help in advance!!


i know there are ways to do it.. i just dont have the time to
hyperlink 15,000 drawings...


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default hyperlink to files?

they are .tif scanned drawings.. microsoft office document imaging is
used to view them

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default hyperlink to files?

Never mind I won't be able to test it anyway because I won't have the
application. With a list of your drawing names in A1 _ a100 (extend as
necessary paste this into the worksheet code by right clicking the tab abd
paste.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range("A1:A100")) _
Is Nothing Then Exit Sub
'Change the extension to the correct one
Filetoopen = Target.Value & ".txt"
'Change the path to your application
'and the application nam as required
Shell "c:\windows\system32\notepad.exe c:\" & Filetoopen, vbMaximizedFocus
End Sub

Mike


" wrote:

If i have a list of drawing numbers.. such as 2200034567, 2200034568
in a column in excel, with a description of each file in the next
column over, and all of those files are located in one folder.. is
there a way i can use one general equation to have excel search for
that file in the folder and open it if you clicked on the 22 number?

Thanks for any help in advance!!


i know there are ways to do it.. i just dont have the time to
hyperlink 15,000 drawings...


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
Hyperlink files same folder only? dahljam Excel Discussion (Misc queries) 2 July 3rd 07 07:00 PM
JPG files with HYPERLINK in 2007 GDC Links and Linking in Excel 0 June 20th 07 04:43 PM
How do I hyperlink files in a workbook? mapberkley Excel Discussion (Misc queries) 2 December 29th 05 05:49 PM
hyperlink to files Andy Excel Worksheet Functions 1 November 9th 05 01:33 PM
hyperlink to jpg files wines4u Excel Discussion (Misc queries) 6 January 14th 05 12:31 AM


All times are GMT +1. The time now is 03:24 AM.

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"