+ Reply to Thread
Results 1 to 2 of 2

Hyperlink VBA

  1. #1
    Registered User
    Join Date
    02-14-2012
    Location
    Alexandria, Egypt
    MS-Off Ver
    Excel 2007
    Posts
    7

    Hyperlink VBA

    Hi.
    I have this WB named SERIAL with the first column as serial number that looks like this "123-12, 124-12,.....", second i have this folder where every wb is saved with a serial number ex:"123-12".

    Here is what i want:
    1. I want a code to automatically create a hyperlink in the SERIAL wb in the first column to the file in this path "C:\Documents and Settings\user\Desktop\serial\2012"
    thus i want to click on lets say serial number 115-12 in the serial wb and the wb 115-12 located in the above path will open.
    I have almost 500 serial numbers so it will b very hard to create a hyperlink for each one.

    thank you..

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Hyperlink VBA

    Hi A.Sharaf,

    Hopefully the following code works for you:
    Please Login or Register  to view this content.
    This is set to open .xlsx files. If your files differ, e.g. ".xls", change that bit of code.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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