+ Reply to Thread
Results 1 to 3 of 3

Dynamic file path

  1. #1
    Forum Contributor
    Join Date
    10-08-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    386

    Dynamic file path

    Hello again guys! Well I have been trying to automate a few things that i have to do every day, and it is working great. The only problem is my boss wants it on his computer, but i have static file paths in my code. I know there is a way, just not sure how to do it.

    I have my master excel sheet in a folder, along with 2 folders it uses. one folder called Proc it opens up the excel sheets in there, modifies them, then saves them into the Finished folder. So the two folder it uses, is in the same folder as the sheet.
    Last edited by GaidenFocus; 10-20-2011 at 12:58 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dynamic file path

    For filepaths, something like:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    10-08-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    386

    Re: Dynamic file path

    Worked like a charm, thanks once again JBeaucaire!!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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