+ Reply to Thread
Results 1 to 2 of 2

hyperlink open folder in desktop

  1. #1
    Registered User
    Join Date
    10-24-2022
    Location
    hongkong
    MS-Off Ver
    version 2000
    Posts
    9

    hyperlink open folder in desktop

    Dear All,

    Please help attached with vba code, could u please help me how vba code work
    because i try many times and cannot work

    the vba code can make hyperlink so i can do as follows

    that is ,
    if i click ABC in A1 , then it will open file named 1 in folder named 2011 ( c1) in desktop
    if i click ABC in A2 , then it will open file named 2 in folder named 2011 (c2) in desktop
    if i click ABC in A3, then it will open file named 11 in folder named 2011 (c3) in desktop
    if i click ABC in A4, then it will open file named 100 in folder named 2012 (c4) in desktop

    Thanks
    Tom
    Attached Files Attached Files
    Last edited by hongkongtomlam; 10-27-2022 at 09:50 AM.

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: hyperlink open folder in desktop

    Hi hongkongtomlam, Not sure you need to use VBA for this. In your document, select ABC, then right click and select link. Under Link to: make sure Existing File or Web Page is selected, then go find the file. Once you select the file, ABC will become a link to that document and will open it when selected.

    Squeaky.

+ 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] Hyperlink to folder gives ''cannot open the specified file' error
    By wblee in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-27-2019, 12:23 PM
  2. [SOLVED] Vba to open pdf in folder and hyperlink to Command Buttons
    By sintek in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 10-04-2016, 02:48 PM
  3. [SOLVED] VBA code to open word doc in folder in desktop
    By billisnice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2015, 12:18 AM
  4. [SOLVED] Button to open folder based on cell hyperlink adress
    By mirenoba in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-11-2014, 05:39 AM
  5. [SOLVED] Macro to open folder on desktop and certain files within
    By hutch94 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-05-2014, 11:01 AM
  6. Open file in folder on Desktop
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 09-17-2010, 10:35 AM
  7. Hyperlink to open single-pane folder?
    By terrypin in forum Excel General
    Replies: 2
    Last Post: 01-06-2010, 12:21 PM

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