How use Hyperlink() function with worksheet names that contain double-quotes

ou81aswell

Board Regular
Joined
Oct 6, 2009
Messages
50
How do I specify the worksheet name to the HYPERLINK() function when the worksheet name contains a double-quote? Is there a way to "escape" the double-quote somehow?

The sheet I'm having trouble with is called 4" Nails. What changes would I have to make to the following hyperlink function in order for it to work?

=HYPERLINK("[MyWorkbook.xlsx]'4" Nails'!A1","4" Nails")

Thanks.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try:

=HYPERLINK("[MyWorkbook.xlsx]'4"" Nails'!A1","4"" Nails")

If you have quotes within quotes, you need to double them to say that they're supposed to be within the text, and not the text terminator.
 
Upvote 0

Forum statistics

Threads
1,215,004
Messages
6,122,659
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top