Results 1 to 20 of 21

Thread: VBA to operate on an external drive + files dispatching in folders

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,476
    Location
    Code amended to look for zip folder in Data_Extractor location as default.
     Code deleted
    Last edited by mdmackillop; 08-31-2017 at 01:45 AM. Reason: Modified to set GetOpenFileName location
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  2. #2
    VBAX Regular
    Joined
    Aug 2017
    Posts
    14
    Location
    Quote Originally Posted by mdmackillop View Post
    Code amended to look for zip folder in Data_Extractor location as default.
    Thanks, ActiveWorkbook.Path seems to be the right approach, however there still seems to be an issue, see below the issue regarding the path for external drive name W.

    screenshot 31.08.17.PNG
    2screenshot 31.08.17.jpg
    "ActiveWorkbook.Path = "E:"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •