Results 1 to 31 of 31

VBA to combine same worksheet in different workbooks into one without the heading

Threaded View

  1. #25
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: VBA to combine same worksheet in different workbooks into one without the heading

    The Problem I got in your Input file was that that they were Protected with a password, hence not letting the code to work properly.
    So I make two unprotected copies of sheets to carry on with my test. However I have changed my code to unprotect sheet before moving on to copying data.
    Change the Pwd Variable holding password for your input files. I am Assuming there is only one password for all your files.

    Now come on to the Dropdown references your were talking about. I thing the best way to disregard them would be to move them to a new sheet ( say Drop Downs Sheet ). This is more appropriate as it won't be easy for me to capture only the data area as you said that there can be many empty rows as well.

    If you take care of all of above. The code will satisfy your needs very well.
    Here is the revised code. I am assuming there are 4 Header rows in all your Input files.

    HTML Code: 
    Test and tell. Don't forget to change the fPath variable and Pwd variable accordingly.
    Last edited by Vikas_Gautam; 03-04-2015 at 12:33 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Combine multiple read-only workbooks into one, each into separate worksheet
    By titushanke in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2013, 03:23 PM
  2. How to combine multiple workbooks into one worksheet?
    By eajustin15 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2013, 02:42 AM
  3. combine data from multiple workbooks to a single new worksheet
    By ame in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2011, 08:12 PM
  4. How to Combine Separate Workbooks into One Worksheet
    By Wrecking_Crew in forum Excel General
    Replies: 2
    Last Post: 03-15-2007, 11:27 PM
  5. Combine contents of multiple workbooks into one worksheet
    By EMG03 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-24-2005, 08:05 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