+ Reply to Thread
Results 1 to 3 of 3

Hyperlinks & Userforms

  1. #1
    Registered User
    Join Date
    03-10-2004
    Posts
    45

    Hyperlinks & Userforms

    Did some forum searching and did not find anything that could help with my specifics so here is delima. I will first start with a question. Do hyperlinks work within forms. If so where can I find some info on this. What I wanting to do is I would like to be able to input a link to a "folder" via browse type selection. I then need to be able to return and open this folder at a later time. Thanks for any advice

    Michael

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good evening Michael Wise

    I'm not entirely sure what you're after here. It is not possible to put a hyperlink on a userform, but you can "imitate" one to try and fool the user that it's a hyperlink, but reading the rest of your post I don't think that's what you want. You really need to design your form with a button that kicks off a routine that will allow the user to select a directory, and here you have two choices :
    (i) using the FileDialog object (only available usign XL2002 onwards). The simplest option
    (ii) using API's and callbacks, which I think look slicker but are quite tricky to work with.

    Both methods are discussed here :
    http://book.itzero.com/read/others/0...9lev1sec5.html

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    There's an example workbook here:

    http://www.excel-it.com/vba_examples.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1