+ Reply to Thread
Results 1 to 4 of 4

Hyperlink vba

  1. #1
    Forum Contributor
    Join Date
    05-13-2013
    Location
    Swindon UK
    MS-Off Ver
    Excel 2010
    Posts
    277

    Hyperlink vba

    . Hi

    I have a Excel database and a userform to look-up my music. I want to be able to connect a front cover of the cd file to every cd in the daatbase.

    I have created an additional column and created hypelinks in front of each track name. these hyperlinks are connected to the cover of that product which is saved on the drive.

    I have created a field on the userform to display the respective hyperlink when a CD/ song name is searched by user.

    My problem is that the user form displays the hyperlink name, but its dead.
    I want users to be able to click on the hyperlink to view the attached cd font cover pic. I have tried using Textbox and labels to display this hyperlink, but no luck.

    anyone knows what I should be using to display this active hyperlink on my userform?? and keep it alive??

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Hyperlink vba

    Why do you need a hyperlink?
    Why don't you have a list of names, and when you click on them it performs a lookup in a data range containing the names & hyperlinks?
    Please Login or Register  to view this content.

    or if you are using a combobox or listbox you can have another column with filepaths so when you make the selection you use the select/click method to run some code to open that file.

    alternatively this might help
    http://j-walk.com/ss/excel/tips/tip71.htm
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  3. #3
    Forum Contributor
    Join Date
    05-13-2013
    Location
    Swindon UK
    MS-Off Ver
    Excel 2010
    Posts
    277

    Re: Hyperlink vba

    Hi


    Thank you for the reply, not really sure what you mean about youur solution, i have got want i need now with the hyper link. thank you.

    I do have one more question, i want to attached a link to a photo as well, so when i click on the cd name the front cover displys in the box but not sure what code i would need for this, i have attached the project so any help would be great.

    I will take out the pack size coulum and use this for the link to the front covers, please have a look.


    Rave set VBA.xls

  4. #4
    Forum Contributor
    Join Date
    05-13-2013
    Location
    Swindon UK
    MS-Off Ver
    Excel 2010
    Posts
    277

    Re: Hyperlink vba

    anyone ????

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Excel 2010 Create a macro to check if cell contains hyperlink then apply hyperlink style
    By chasidar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2013, 04:48 AM
  2. Replies: 1
    Last Post: 02-23-2013, 05:18 AM
  3. Replies: 5
    Last Post: 06-22-2006, 07:10 AM
  4. Replies: 0
    Last Post: 03-26-2006, 07:10 PM
  5. [SOLVED] Intra-workbook hyperlink: macro/function to return to hyperlink ce
    By marika1981 in forum Excel General
    Replies: 3
    Last Post: 05-06-2005, 01:06 AM

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