Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Wildcards in hyperlink formulas

At the moment, I have a spreadsheet that is an index to filed documents, with
a primary key of a number in column A. All the files are stored with the
number of the file as the filename. Eg G:\Research &
Resources\DATABASE\F23.pdf. Assuming my data is in cell A1, If I use the
formula =HYPERLINK(CONCATENATE("G:\Research &
Resources\DATABASE\F",A1,".pdf")), then it works well.

That's fine if they're all pdf documents, but there are excel spreadsheets,
and jpeg files, word documents and even folders. Is there a way that I can
get it to launch any or all things starting with what's what's in A1? I
tried =HYPERLINK(CONCATENATE("G:\Research & Resources\DATABASE\F",A1,".???"))
but it doesn't work. Does this mean that I can't use wildcards in formulas?
Is there any other way around this problem so that it will launch any file in
the correct folder starteing with the number in A1? Any help would be much
appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
zz zz is offline
external usenet poster
 
Posts: 32
Default Wildcards in hyperlink formulas

maybe you can try

=hyperlink(concatenate(B1,C1,D1,A1,E1))

in B1 you would store the initial part of the path i'm assuming it's
"G:\\research"

then in C1 you would store "\resources"

in D1 it is "\DATABASE\F"

in A1 i'm assuming that you store the filename number let it be
"filename_number"

in E1 you should sotore the extension of the file you want to open with the
dot included eg ".xls",".doc",".xml", etc.

the final result should aproach this: "
G:\\research\resources\DATABASE\Ffilename_number.p df "




just one final question on the path of the files, the "F" part isn't another
folder?

because if it is then this correction must be applied

in D1 it is "\DATABASE\F\"


--
---
zz [MX]
cuasi-musico,semi-poeta y loco


"caramon2000" wrote in message
...
At the moment, I have a spreadsheet that is an index to filed documents,
with
a primary key of a number in column A. All the files are stored with the
number of the file as the filename. Eg G:\Research &
Resources\DATABASE\F23.pdf. Assuming my data is in cell A1, If I use the
formula =HYPERLINK(CONCATENATE("G:\Research &
Resources\DATABASE\F",A1,".pdf")), then it works well.

That's fine if they're all pdf documents, but there are excel
spreadsheets,
and jpeg files, word documents and even folders. Is there a way that I
can
get it to launch any or all things starting with what's what's in A1? I
tried =HYPERLINK(CONCATENATE("G:\Research &
Resources\DATABASE\F",A1,".???"))
but it doesn't work. Does this mean that I can't use wildcards in
formulas?
Is there any other way around this problem so that it will launch any file
in
the correct folder starteing with the number in A1? Any help would be much
appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Wildcards in hyperlink formulas

Thanks for that. That crossed my mind, but I was hoping to be able to avoid
that, because there are a lot of people who will be adding to this
spreadsheet, and chances are they propbably won't even know what filetype
their document is. I guess I could go into the spreadsheet every now and then
and fill in the field.

F is just a way of indicating that the file is part of the database. The
primary key is called the folio number, so F stands for "Folio", and it is at
the start of every file in the folder. eg "F47.jpeg"

Thanks for the help anyway.

"zz" wrote:

maybe you can try

=hyperlink(concatenate(B1,C1,D1,A1,E1))

in B1 you would store the initial part of the path i'm assuming it's
"G:\\research"

then in C1 you would store "\resources"

in D1 it is "\DATABASE\F"

in A1 i'm assuming that you store the filename number let it be
"filename_number"

in E1 you should sotore the extension of the file you want to open with the
dot included eg ".xls",".doc",".xml", etc.

the final result should aproach this: "
G:\\research\resources\DATABASE\Ffilename_number.p df "




just one final question on the path of the files, the "F" part isn't another
folder?

because if it is then this correction must be applied

in D1 it is "\DATABASE\F\"


--
---
zz [MX]
cuasi-musico,semi-poeta y loco


"caramon2000" wrote in message
...
At the moment, I have a spreadsheet that is an index to filed documents,
with
a primary key of a number in column A. All the files are stored with the
number of the file as the filename. Eg G:\Research &
Resources\DATABASE\F23.pdf. Assuming my data is in cell A1, If I use the
formula =HYPERLINK(CONCATENATE("G:\Research &
Resources\DATABASE\F",A1,".pdf")), then it works well.

That's fine if they're all pdf documents, but there are excel
spreadsheets,
and jpeg files, word documents and even folders. Is there a way that I
can
get it to launch any or all things starting with what's what's in A1? I
tried =HYPERLINK(CONCATENATE("G:\Research &
Resources\DATABASE\F",A1,".???"))
but it doesn't work. Does this mean that I can't use wildcards in
formulas?
Is there any other way around this problem so that it will launch any file
in
the correct folder starteing with the number in A1? Any help would be much
appreciated.




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 special" a hyperlink to another worksheet... Guy who thought he knew Excel -) Excel Worksheet Functions 0 September 12th 06 09:45 PM
sort excel spreadsheet with hyperlink jannkatt Excel Discussion (Misc queries) 0 June 13th 06 01:39 PM
Wildcards in Formulas GOL Excel Discussion (Misc queries) 2 September 1st 05 09:40 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 10:55 AM.

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"