+ Reply to Thread
Results 1 to 3 of 3

VBA Code for creating shortcuts of bunch of folder to respective category folder

  1. #1
    Registered User
    Join Date
    02-01-2016
    Location
    Ontario, Canada
    MS-Off Ver
    Office 2007
    Posts
    70

    VBA Code for creating shortcuts of bunch of folder to respective category folder

    Good Afternoon,

    I am trying to create shortcut of some folders tabulated in excel sheet. I would like to create the shortcut of these folders to category wise. For instance, Folder EA-001 belongs to "Engineering" category and I want to create a shortcut of "Folder EA-001" which is available in the same directory to "Engineering Folder".

    I have attached an excel file which might be helpful.
    If you can help me with this one would be much appreciated.

    Thanks.

    Mashiul A.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-11-2015
    Location
    Southend
    MS-Off Ver
    2013
    Posts
    52

    Re: VBA Code for creating shortcuts of bunch of folder to respective category folder

    on the folder column
    use insert > hyperlink
    Use Existing file or web page
    In Address put in the full link to the folder (it will start "c:\user 1\My Documents ... or something like that)
    if in doubt find the folder and set up a shortcut to it (right click>create shortcut) and then right click on the shortcut and under properties>target it will give you the exact file address of the file or folder

    I have used it on your spreadsheet and it works fine on my machine (I am on 2013 - other versions may be slightly different but not by much, I also have 2007 and 2003 and it works on them)
    Last edited by Graham Griggs; 02-01-2016 at 08:02 PM.

  3. #3
    Registered User
    Join Date
    02-01-2016
    Location
    Ontario, Canada
    MS-Off Ver
    Office 2007
    Posts
    70

    Re: VBA Code for creating shortcuts of bunch of folder to respective category folder

    Hi Graham,

    Thanks for your reply.

    The method you have mentioned is usual way. I need VBA code for automate the whole process.
    For simplicity I only included 3 folders but in real case I will have significant number of folders and will grow more & more.
    Again, thanks for you effort.

    Mashiul

+ 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 VBA code for selecting a folder then search & open specified files in that folder
    By Excelrookie_1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-27-2021, 03:09 AM
  2. Replies: 2
    Last Post: 12-29-2015, 04:19 AM
  3. [SOLVED] Creating a VBA Script to save in a current month's folder (create folder as needed)
    By spittingfire in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2015, 03:08 PM
  4. [SOLVED] Creating a folder for the new year without having to input the folder name.
    By LeapingLizard in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-01-2014, 08:09 PM
  5. [SOLVED] How to execute bunch of word documents in a folder one by one.
    By sugaprasad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2013, 03:22 AM
  6. Code to create New Folder (if doesn't exist) and then Save Workbook to folder
    By jenhawley in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-10-2013, 03:09 PM
  7. Creating CULUM results - Folder / Sub Folder from excel macro
    By mash1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2012, 10:19 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