Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Hyperlink Formula Problem


Hi,
I have a workbook with several worksheets. On my main sheet, in column a, I have a list of numbers formatted to text 0001,0002,0003 etc. that are generated automatically if the next column is populated. There are a series of other sheets named 0001, 0002, 0003, etc. I want to create a hyperlink to take the user to the corresponding sheet that is named the same as the current cell on the listing sheet. I have created this formula but it generates an error "Cannot open the specified file"


=IF(B23="","",HYPERLINK("file:///"&CELL("Filename")&" - "&ADDRESS(14,3,,,TEXT(ROW()-7,"0000")),TEXT(ROW()-7,"0000")))

can anyone tell me what I am doing wrong?

Thanks
Keith
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MRT MRT is offline
external usenet poster
 
Posts: 26
Default Hyperlink Formula Problem

try this ... sorry too long ...

=IF(B23="","",HYPERLINK("["&LEFT(CELL("filename"),SEARCH("[",CELL("filename"))-1)&MID(CELL("filename"),SEARCH("[",CELL("filename"))+1,
SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)&"]"&ADDRESS(14,3,,,TEXT(ROW()-7,"0000")),TEXT(ROW()-7,"0000")))

HTH
--
MRT

"Keith Howie" wrote in message ...

Hi,
I have a workbook with several worksheets. On my main sheet, in column a, I have a list of numbers formatted to text 0001,0002,0003
etc. that are generated automatically if the next column is populated. There are a series of other sheets named 0001, 0002, 0003,
etc. I want to create a hyperlink to take the user to the corresponding sheet that is named the same as the current cell on the
listing sheet. I have created this formula but it generates an error "Cannot open the specified file"


=IF(B23="","",HYPERLINK("file:///"&CELL("Filename")&" - "&ADDRESS(14,3,,,TEXT(ROW()-7,"0000")),TEXT(ROW()-7,"0000")))

can anyone tell me what I am doing wrong?

Thanks
Keith

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mrt mrt is offline
external usenet poster
 
Posts: 70
Default Hyperlink Formula Problem

try this ... sorry too long ...

=IF(B23="","",HYPERLINK("["&LEFT(CELL("filename"),SEARCH("[",CELL("filename"))-1)&MID(CELL("filename"),SEARCH("[",CELL("filename"))+1,
SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)&"]"&ADDRESS(14,3,,,TEXT(ROW()-7,"0000")),TEXT(ROW()-7,"0000")))

HTH
--
MRT

"Keith Howie" wrote:


Hi,
I have a workbook with several worksheets. On my main sheet, in column a,
I have a list of numbers formatted to text 0001,0002,0003 etc. that are
generated automatically if the next column is populated. There are a
series of other sheets named 0001, 0002, 0003, etc. I want to create a
hyperlink to take the user to the corresponding sheet that is named the
same as the current cell on the listing sheet. I have created this
formula but it generates an error "Cannot open the specified file"


=IF(B23="","",HYPERLINK("file:///"&CELL("Filename")&" -
"&ADDRESS(14,3,,,TEXT(ROW()-7,"0000")),TEXT(ROW()-7,"0000")))

can anyone tell me what I am doing wrong?

Thanks
Keith

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 Problem Eric Excel Discussion (Misc queries) 1 January 31st 06 09:00 PM
Hyperlink Problem John Calder Links and Linking in Excel 1 November 25th 05 11:46 PM
Hyperlink Problem John Calder Excel Discussion (Misc queries) 0 November 24th 05 09:42 PM
Hyperlink problem Glenn Richardson Excel Worksheet Functions 2 August 31st 05 09:09 AM
hyperlink Problem Brian Mateer Excel Discussion (Misc queries) 2 February 10th 05 09:45 PM


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