Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9217463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:38:21+00:00 2026-06-18T02:38:21+00:00

I currently have a workbook set up to open multiple txt files in excel,

  • 0

I currently have a workbook set up to open multiple txt files in excel, filter all the data and import only what i need from it. Each import goes into a different excel sheet “1”, “2”, “3”, …. through “31” (Days).

All sheets have the same number of columns but different number of rows. What i need to do is combine all sheets into the “ALL” sheet within this same workbook.

Help?!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T02:38:23+00:00Added an answer on June 18, 2026 at 2:38 am

    I got it! Works like a charm. My very first sheet is called “ALL”, second sheet is called Setup where i check my date ranges for the files im importing to the rest of the sheets in days which is sheet named “1” through “31”. With this macro the 3rd sheet (being sheet “1”) is when it starts to combine unti lthe last sheet in the workbook. It copies everything but the first row which has the column headings.

    Dim J As Integer
    
    On Error Resume Next
    
    For J = 3 To Sheets.Count
    Sheets(J).Activate
    Range("A1").Select
    Selection.CurrentRegion.Select
    Selection.Offset(1, 0).Resize(Selection.Rows.Count - 1).Select
    Selection.Copy Destination:=Sheets(1).Range("A1000000").End(xlUp)(2)
    
    Next
    
    Sheets("ALL").Select
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some data that's currently stored in an Excel workbook. It makes sense
I currently have data that I am splitting into multiple sheets and allowing the
I currently have a excel workbook that has values being pulled from other workbooks
I currently have a macro which does data mining and saves the workbook in
I have a VSTO Excel workbook that functions correctly in test. I can deploy
I currently have one project that currently contains multiple packages. These packages make up
I have a data set with 1000 entries of the following form: ID Name
We currently have an Excel spreadsheet containing a large amount of VBA code. The
I have a macro that allows a user to browse and select multiple Excel
I have an excel workbook where the .csv file is outputted with quotes with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.