+ Reply to Thread
Results 1 to 2 of 2

VBA to open a spreadsheet based on cell reference and copy certain range to opened sheet

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    Decin
    MS-Off Ver
    Excel 2010
    Posts
    28

    VBA to open a spreadsheet based on cell reference and copy certain range to opened sheet

    Guys,
    I would like to use a macro which would return values from a CLOSED specific spreadsheet for which a cell reference is being generated (combination of vlookup, concetenate, etc...).

    Please, see the attachment, it is very simple.

    The value needed is on the sheet called "rozbor" in cell C85.

    I cannot use PULL function, since it slows computer down, if I have more data to pull...

    Any help highly appreciated!
    Attached Files Attached Files
    Last edited by dan.zrust; 08-17-2013 at 08:49 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA to open a spreadsheet based on cell reference and copy certain range to opened she

    Since you have the full address in the a cell, you can use that create a normal formula, then leave the value it created behind. Sort of a poor man's INDIRECT().

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. [SOLVED] Copy formulas from one spreadsheet to another keeping the original sheet cell reference
    By Sheepdog in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-08-2012, 02:41 PM
  2. Copy cell range from another sheet based on drop down selection.
    By nhen.enry in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-09-2012, 09:24 PM
  3. [SOLVED] Copy data from One Spreadsheet to another based on a particular reference
    By filbert83 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-20-2012, 02:38 AM
  4. [SOLVED] Macro: Dynamic creation of sheet based on cell value then copy range to the new sheet
    By BeachRock in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-15-2012, 11:31 AM
  5. Copy cell values to another sheet that is not opened
    By 2funny4words in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-13-2009, 07:44 PM

Tags for this Thread

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