+ Reply to Thread
Results 1 to 2 of 2

Selecting data from different named sources?

  1. #1
    Forum Contributor
    Join Date
    12-08-2015
    Location
    London, England
    MS-Off Ver
    2021
    Posts
    142

    Selecting data from different named sources?

    Hi,

    Very new to VBA and i'm wondering if it's possible to create a code that will open up another spreadsheet, perform a basic VLOOKUP to give the info i'm after then close the sheet.

    I have my sheet which has tabs for each month, and what i'd like is for a macro to open the correct s/sheet for this tab (the correct sheets are named by month date), then perform a lookup and provide me with the data i need, then close the just opened sheet.

    E.G.

    In my s/sheet on the July tab - i'd like to click a macro button, have it then open the July dated spreadsheet, perform a lookup (think i can do that part myself), then close the July dated sheet. Then when i open the August dated tab, repeat the exercise (but have the macro open the August dated sheet), and go from there.

    Is something like this possible?

    Many thanks for any assistance

  2. #2
    Forum Contributor
    Join Date
    12-08-2015
    Location
    London, England
    MS-Off Ver
    2021
    Posts
    142

    Re: Selecting data from different named sources?

    If something like this is not possible - could someone suggest another way of obtaining this information?

    Thanks again

+ 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. VBA - change all pivot table data sources to named range
    By sportsnut898 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-15-2016, 02:26 PM
  2. How to change the sources of all Pivot tables in a workbook to a named data range?
    By abhi.ko in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2012, 01:26 PM
  3. Selecting appropriate data from 2 sources
    By spark in forum Excel General
    Replies: 4
    Last Post: 10-09-2009, 07:27 AM
  4. Selecting Two Named Ranges
    By gsandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 06:38 PM
  5. Selecting a named range in VBA code
    By barksmith in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2008, 10:46 AM
  6. [SOLVED] trouble selecting a named cell
    By john foster in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-16-2006, 08:00 AM
  7. Named Ranges in external Data Sources
    By David in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2005, 10:05 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