Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default How to followhyperlink to a folder with a minus sign in the name

Hello, how do I use "followhyperlink" to open a folder with a minus
sign in its name?

All of the following string arguments (such as below) have failed:

"<c:\file-1:
"'c:\file-1'"
"file://c:\file-1"
"c:\file%xy1"
"c:\filexy%1"
"'c:\filexy%1'"

xy is the ascii hex number for minus.

All of this has been typed from memory, and so I may have typed a
string incorrectly above!

Thank you,
Christopher Lusardi


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default How to followhyperlink to a folder with a minus sign in the name

Sub qwerty()
ActiveWorkbook.FollowHyperlink Address:="file:///c:\temp\a-b"
End Sub
--
Gary''s Student - gsnu2007k
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
Minus Sign JLMcCabes Excel Discussion (Misc queries) 1 March 30th 11 01:34 PM
I do not want the minus sign Steved Excel Worksheet Functions 5 December 8th 08 09:26 PM
minus sign delmac Excel Programming 3 February 7th 07 05:27 PM
minus sign tom mcdonald Excel Worksheet Functions 1 April 19th 06 09:58 AM
plus and minus sign in cells ivoryhunter Excel Worksheet Functions 3 April 10th 06 01:28 PM


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