Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Macro for user to select hyperlink file

I have hundreds of hyperlinks to attach to cells in a worksheet. Just
looking for a faster way. This is what I got using the Recorder.

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _
"\\ceddfssrv01\cedroot\Public\Furniture Staging List\VP Furn
Pics 7-8-06\Disk 01\MVC-003F.JPG" _
, TextToDisplay:= _
"Desk (on left) 56 x 23 x 31H; Credenza (on right) 38 x 24 x
30H (see pic 5 for table top)"
ActiveCell.Offset(1, 0).Select

What I want is for the file selection window to come up, then pause for
the user to select the file. So, using the above code, this is where I
want it to pause:

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _
"\\ceddfssrv01\cedroot\Public\Furniture Staging List\

The user selects the remaining part of the path, clicks ok..., then the
cursor goes down one, then repeats the macro to hyperlink the next
cell.

I don't know if this will end up being worth it, but I would like to
see if this can be done.

Thanks,
J.O.

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
User select printer in print macro rocket0612[_11_] Excel Programming 5 April 7th 06 07:49 AM
Macro to Copy Hyperlink to another file as a HYPERLINK, not text... dollardoc Excel Programming 1 April 7th 05 12:47 AM
Prompt user to select file with default file selected dialog Bruce Cooley Excel Programming 0 September 15th 03 06:43 AM
Prompt user to select file with default file selected dialog Bob Phillips[_5_] Excel Programming 0 September 14th 03 09:22 PM
Prompt user to select file with default file selected dialog Bob Phillips[_5_] Excel Programming 0 September 14th 03 09:19 PM


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