+ Reply to Thread
Results 1 to 2 of 2

Import data from specific named PDF located in same directory

  1. #1
    Registered User
    Join Date
    05-19-2022
    Location
    Czech republic
    MS-Off Ver
    Office 365
    Posts
    2

    Import data from specific named PDF located in same directory

    Hello guys,

    I am using VBA with Power Querry to import table from PDF to Excel and then managing data there. Now I have staticaly set up path to input file: source.pdf

    Is it possible to use some shortcut in path or any simple coding, how to set up taking that source.pdf as import automatically from same directory, where my excel file is located? I want to have it not static in case some detail in path will change in future.

    Thanks!

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Import data from specific named PDF located in same directory

    can you not store the file path in a cell, and import from that?
    Then its easy if the file changes.

+ 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. Filter data by specific date located on other sheet
    By BramGrey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2020, 08:47 AM
  2. [SOLVED] Display the last modified date of another workbook located in a different directory
    By sloshpuppy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2018, 05:15 AM
  3. [SOLVED] Applying a macro to multiple files located in the same directory
    By sturmy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-20-2015, 09:47 AM
  4. Find *.xls files in a directory and run macro(including *.xls located in subfolders)
    By driftlogic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2012, 11:34 AM
  5. Import table data from .mdb in my web's root directory
    By ern2ern in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-17-2008, 08:48 AM
  6. [SOLVED] Import directory data into Excel 2003
    By Nigel Reed in forum Excel General
    Replies: 6
    Last Post: 01-31-2005, 10:06 PM
  7. [SOLVED] Opening all files located in a specific directory
    By DaSo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2005, 04:06 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