+ Reply to Thread
Results 1 to 2 of 2

Extract text from an external Excel using the file path only

  1. #1
    Forum Contributor
    Join Date
    06-16-2014
    Location
    United States
    MS-Off Ver
    Home 2010
    Posts
    122

    Extract text from an external Excel using the file path only

    Is there a formula or VBA to extract text from an Excel given the Excel's file path only? This should be simple but I can not get it to work. This is on a business network btw, which I know can create issues.

    Example:

    Excel I want my text result in (columns a-e, but lets just figure out "a" for now)

    a b c d e path
    P:\Business\CUSTOMERS\Customer\stuff\excel.xlsm

    I want to put a formula or VBA in column "a" that goes to the excel in the path column and extracts the cell contents of a cell I give. This cell is a named range so I used the named range, but with no luck.

    Normally it makes me browse for the Excel file even when I give it a path, and when I try to avoid this I get a #Name? error of course.

    I had tried to figure this out before and could not get it to work. Now, I need to figure this out, whether I can use formulas or VBA or data validation if possible.
    Last edited by gaker10; 03-17-2015 at 12:28 PM.

  2. #2
    Forum Contributor
    Join Date
    06-16-2014
    Location
    United States
    MS-Off Ver
    Home 2010
    Posts
    122

    Re: Extract text from an external Excel using the file path only

    The forum won't let me insert an image of my Excel to clarify, but "a b c d e path" represent columns. The pathway is in the path column.

+ 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. Replies: 5
    Last Post: 09-29-2012, 12:40 PM
  2. extract file name from path
    By d3ad in forum Excel General
    Replies: 6
    Last Post: 04-05-2011, 05:27 PM
  3. Replies: 0
    Last Post: 10-01-2010, 04:22 PM
  4. Replies: 1
    Last Post: 05-24-2007, 07:28 AM
  5. Changing external path and file name
    By chemaster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2005, 10:27 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