+ Reply to Thread
Results 1 to 8 of 8

Merge All Workbooks

  1. #1
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Merge All Workbooks

    Hi,

    I the below code and it works perfectly for me and grabs the data I need. However I also need to pull another cell value out which is not in the current range.

    how do I do this?

    As always appreciate the help.

    Please Login or Register  to view this content.

  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: Merge All Workbooks

    Quote Originally Posted by tejboyd View Post
    ....I also need to pull another cell value out which is not in the current range.
    You'll need to explain this fully.
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Re: Merge All Workbooks

    Apologies...

    For example the current range of data I grab from the files is E7:G8.

    However I will also need to pull out a value from cell K8.

    How do I add it to this section of code
    Please Login or Register  to view this content.
    Hope this makes more sense

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

    Re: Merge All Workbooks

    And do what with it? Where exactly should it go in the paste in relation to where the original copied data is going?

  5. #5
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Re: Merge All Workbooks

    The original data is pasted into cells C,D,E. I need the additional value from K8 to be pasted into F1.

  6. #6
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Re: Merge All Workbooks

    This should then continue for every file that is opened using the macro.

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

    Re: Merge All Workbooks

    This should work:

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Re: Merge All Workbooks

    Thanks so much. Worked perfectly.

+ 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. Merge workbooks
    By ethan2hunt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-27-2011, 04:33 PM
  2. Merge two workbooks
    By chasebattle in forum Excel General
    Replies: 10
    Last Post: 04-29-2010, 05:26 PM
  3. Merge workbooks
    By datahouseuk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-19-2010, 06:31 PM
  4. Merge workbooks?
    By Banaticus in forum Excel General
    Replies: 2
    Last Post: 07-27-2009, 08:22 PM
  5. [SOLVED] merge workbooks
    By mg_sv_r in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-14-2006, 12:20 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