Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
VadimGor
 
Posts: n/a
Default CELL function within HYPERLINK

Can I use a CELL function for extracting a workbook name for further
using in the HYPERLINK function.
Something like this HYPERLINK("[CELL("filename")]June!A1").
It is always gives an error or jsut build a wrong link.

Thanks

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

The problem is the [ & ] and worksheet name that gets brought in.

Try this

=HYPERLINK(SUBSTITUTE(LEFT(CELL("filename",[data99.xls]journal!A1),FIND("]",
CELL("filename",[data99.xls]journal!A1))-1),"[",""))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"VadimGor" wrote in message
ups.com...
Can I use a CELL function for extracting a workbook name for further
using in the HYPERLINK function.
Something like this HYPERLINK("[CELL("filename")]June!A1").
It is always gives an error or jsut build a wrong link.

Thanks



  #3   Report Post  
VadimGor
 
Posts: n/a
Default

Thanks,

it works fine with excel saved on the disk.
I still falling into original problem,
when an excel report opened from WEB. The file saved in the "Temporary
Internet Files" and a name is changed from "report_XXXX.xls" to
"report_XXXX[1-N].xls". Excel raise a security warning concerning a
document referenced to an internet
space, either it treats a name as report_XXXX(1-N).xls.

Any ideas, how possible to get a "clean" workbook name ?

Thanks

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
How do I obtain the address of a cell using the vlookup function? Spock Excel Worksheet Functions 2 May 16th 05 06:35 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Hyperlink a word within a cell kchambers Excel Discussion (Misc queries) 2 March 9th 05 03:29 PM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Extract hyperlink string from excel cell Ryan Sapien Links and Linking in Excel 1 January 20th 05 12:24 AM


All times are GMT +1. The time now is 05:43 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"