+ Reply to Thread
Results 1 to 2 of 2

Hardcode Folder Path

  1. #1
    Registered User
    Join Date
    08-07-2008
    Location
    London
    Posts
    1

    Hardcode Folder Path

    Hi Everyone,

    Im in need of a little help! I have an excel spreadsheet which lists all the files in a particular folder and generates a hyperlink for each one so that it can be opened from the spreadsheet.

    I need this list to be updated every time a new file is put into the folder. Currently this update is done by the user clicking the update button and having select the relevant folder from a dialog box.

    I want to hardcode the folder path into the macro (GetFileListTECHNICAL) so that I can run the macro as the workbook is opened and the update will be done automatically without any user input.

    It seems easier than the way I have it working now but I just cant get it to work. Anyway im in a bit over my head and id really appreciate any help you guys can give me. A copy of my spreadsheet is attached.

    Thanks in advance,

    Mark.
    Attached Files Attached Files

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Look at FileSearch in the VBA help.
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

+ 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. Copy and Paste Folder With VBA
    By cjconnor24 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-22-2014, 05:44 AM
  2. Acessing Starting Folder Path
    By CaptMac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2008, 03:39 PM
  3. Trying to move all xls files from one folder to another
    By oakman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2008, 10:39 AM
  4. Cell is equal to a folder name up 3 levels of the path
    By crumpet in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-26-2007, 12:28 AM
  5. Folder Path.
    By gajendra.gupta in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2007, 04:11 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