#1   Report Post  
Posted to microsoft.public.excel.programming
GGO GGO is offline
external usenet poster
 
Posts: 2
Default hypertext

Is it possible to write a macro that transform the path to an Execl workbook
in a hypertext in a spreadsheet so that user open it by cliking on the cell
containing the hypertext??
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default hypertext

Something like...

Range("B10").Formula = _
"=HYPERLINK(""C:\Documents and Settings\My Documents\Predicts.xls"",""Predicts.xls"")"

The first argument is the file path, the second argument is the text to appear in the cell.
The tricky part is entering the correct number of quote marks.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware

"GGO"
wrote in message
Is it possible to write a macro that transform the path to an Execl workbook
in a hypertext in a spreadsheet so that user open it by cliking on the cell
containing the hypertext??
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
Hypertext link dhstein Excel Discussion (Misc queries) 1 July 9th 09 01:35 AM
Need Help Converting Hypertext GIFs [email protected] Excel Worksheet Functions 2 December 1st 08 09:53 PM
excel; hypertext from web addr? Boswell Excel Discussion (Misc queries) 1 July 18th 08 11:06 PM
CONCATENATED HYPERTEXT via OBJECT BUTTON MJSlattery Excel Discussion (Misc queries) 0 July 18th 06 12:03 AM
Hypertext Links pky8484 Excel Worksheet Functions 1 January 18th 06 05:20 AM


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