LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Selecting a directory or folder in Hyperlink dialog box

I am building a macro that will automate the first few steps of building a
hyperlink. Because I don't know the location or name of the file to which the
hyperlink will point, I would like the user to complete the process past a
certain point.

So, I have the following items in the macro thus far (for 2007):

Application.SendKeys ("%NI")
Application.SendKeys ("%L")

This opens the Hyperlink dialog box and then activates the Look In block.
Now I would like to direct it to a certain directory in the Look In block
allowing the user to complete the hyperlink path.

How to I direct the Look In to something like: p:\Marketing\Clients

Thanks for your help.

Ellen
 
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
hyperlink to directory folder while highlighting filename locojester Links and Linking in Excel 1 February 10th 10 08:27 AM
hyperlink to directory folder while highlighting filename locojester Excel Discussion (Misc queries) 0 February 10th 10 12:01 AM
Browse for folder - not selecting folder Trish Smith Excel Programming 3 September 18th 08 09:23 AM
Browse for folder - not selecting folder Dave Peterson Excel Programming 1 September 17th 08 11:16 PM
Cancelling directory dialog box Reena Excel Programming 1 May 12th 05 07:49 PM


All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"