ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   minus signs, or dashes in a formula or hyperlink (https://www.excelbanter.com/excel-discussion-misc-queries/244159-minus-signs-dashes-formula-hyperlink.html)

Flipper

minus signs, or dashes in a formula or hyperlink
 
=HYPERLINK("file:///W:\Courtney\Recon\LnRec-8-09.xls#2003-N!A1","September
2009 Reconciliation")

The above is obvisouly a hyperlink; however, the formula is not functioning
properly. It does take me to the worksheet "2003-N" but instead of "landing"
in cell A1, it lands in cell B32. Additionally, I receive an error message
that says the reference is not valid. This also happens with any sheet that
is named with a dash or minus sign in the name. I feel certain it has to do
with that dash, as the formula works perfectly with worksheets that have no
dashes/minus signs in the name.
Can anyone assist me?

Thanks

--
Allan

Luke M

minus signs, or dashes in a formula or hyperlink
 
I believe you need to place brackets around file name, to sepearate from
sheet name.

=HYPERLINK("[W:\Courtney\Recon\LnRec-8-09.xls]2003-N!A1","September
2009 Reconciliation")

Note that I'm assuming your sheet is actually named "2003-N", not "#2003-N".

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Flipper" wrote:

=HYPERLINK("file:///W:\Courtney\Recon\LnRec-8-09.xls#2003-N!A1","September
2009 Reconciliation")

The above is obvisouly a hyperlink; however, the formula is not functioning
properly. It does take me to the worksheet "2003-N" but instead of "landing"
in cell A1, it lands in cell B32. Additionally, I receive an error message
that says the reference is not valid. This also happens with any sheet that
is named with a dash or minus sign in the name. I feel certain it has to do
with that dash, as the formula works perfectly with worksheets that have no
dashes/minus signs in the name.
Can anyone assist me?

Thanks

--
Allan


Flipper

minus signs, or dashes in a formula or hyperlink
 
Thanks Luke, but that does not work.
--
Allan


"Luke M" wrote:

I believe you need to place brackets around file name, to sepearate from
sheet name.

=HYPERLINK("[W:\Courtney\Recon\LnRec-8-09.xls]2003-N!A1","September
2009 Reconciliation")

Note that I'm assuming your sheet is actually named "2003-N", not "#2003-N".

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Flipper" wrote:

=HYPERLINK("file:///W:\Courtney\Recon\LnRec-8-09.xls#2003-N!A1","September
2009 Reconciliation")

The above is obvisouly a hyperlink; however, the formula is not functioning
properly. It does take me to the worksheet "2003-N" but instead of "landing"
in cell A1, it lands in cell B32. Additionally, I receive an error message
that says the reference is not valid. This also happens with any sheet that
is named with a dash or minus sign in the name. I feel certain it has to do
with that dash, as the formula works perfectly with worksheets that have no
dashes/minus signs in the name.
Can anyone assist me?

Thanks

--
Allan


Dave Peterson

minus signs, or dashes in a formula or hyperlink
 
Try putting apostrophes around the sheetname:

=HYPERLINK("file:////W:\Courtney\Recon\LnRec-8-09.xls#'2003-N'!A1",
"September 2009 Reconciliation")

(I've always used 4 /'s, too. I'm not sure if that matters, but it's always
worked for me.)




Flipper wrote:

=HYPERLINK("file:///W:\Courtney\Recon\LnRec-8-09.xls#2003-N!A1","September
2009 Reconciliation")

The above is obvisouly a hyperlink; however, the formula is not functioning
properly. It does take me to the worksheet "2003-N" but instead of "landing"
in cell A1, it lands in cell B32. Additionally, I receive an error message
that says the reference is not valid. This also happens with any sheet that
is named with a dash or minus sign in the name. I feel certain it has to do
with that dash, as the formula works perfectly with worksheets that have no
dashes/minus signs in the name.
Can anyone assist me?

Thanks

--
Allan


--

Dave Peterson


All times are GMT +1. The time now is 08:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com