+ Reply to Thread
Results 1 to 3 of 3

Data Source

  1. #1
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    593

    Data Source

    Hi,
    How could I getthe Data Source Name of the Active Worksheet?
    Thank you

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Data Source

    How is your data collected ,: Is it a Query, Formula ...
    A short Excel sample will help a lot.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    593

    Re: Data Source

    PCI
    I am generating a Data Query by clicking: Data/New Query/From File/From Folder
    When the "Folder" window pops up, I navigate to the folder where my Excel files are saved, for example:

    C:\Users\ME\Documents\MyExcel Folder

    At that point Excel will generate the Data Query.

    My question is how can I get the Folder Name "MyExcel Folder" through a VBA code, to be displayed in a Message Box.
    Thank you very much

+ 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: 0
    Last Post: 10-06-2016, 11:36 AM
  2. [SOLVED] Output in same worksheet as source removing source data
    By macrolearnerkk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2015, 03:50 PM
  3. [SOLVED] Output in same worksheet as source removing source data
    By macrolearnerkk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-27-2015, 03:49 PM
  4. Replies: 0
    Last Post: 03-20-2014, 10:03 AM
  5. How do you have one source data in a chart flow into a 2nd source of data?
    By Disintegrate in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-06-2009, 09:26 AM
  6. Pivot Table data source "data source contains no visible tables"
    By Jane in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-29-2005, 04:05 PM
  7. Replies: 0
    Last Post: 03-05-2005, 06:06 PM

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