• Skip to main content
  • Skip to primary sidebar
  • Home
  • Blog
  • VBA Programming
  • Open-Libre Office
  • Web Stuff
  • Videos
    • VBA Articles
    • LibreOffice And Open Office
  • Excel VBA Glossary
  • About
  • Contact

My Best Stuff Is In The Newsletter

No charge. No spam. Unsubscribe anytime.

Submitting...

Question Time – Excel VBA – Consolidate Data From Different Sheets

In this tutorial we are going to merge excel files into one results file for uploading to an accounting system.

Get the spreadsheet used in the tutorial above.

Also get updates when new blog or video tutorials are released.

Submitting…

A reader’s workflow involved grabbing data from a web system that he logged into on a regular basis, then copying out customer data and pasting it into Excel worksheets, then consolidating that information into a single sheet which would be used to upload to an accounting system.

His question was how to do that using Microsoft Excel VBA without using Select?

I have written a code intensive answer here, if there is sufficient interest I may also look into providing a less code intensive answer to this problem, however the method highlighted here is my go to answer to this problem.

Even if you are not interested in this specific problem you will find the coding techniques used here to be very useful for your other projects.

Check out the solution in the video above, also I can email you the link to the spreadsheet used in this tutorial, just fill out the form below.

If you found this article really helpful, then consider grabbing me a coffee, it takes a lot of work and expense to keep this site going, the more caffeine I have the harder I can work.

And if you do grab me a coffee, thanks for your support đŸ˜‰

Filed Under: Questions and Answers Tagged With: Excel vba, Excel VBA Macros

Reader Interactions

Comments

  1. Jaime PANTIGOSO says

    05/01/2017 at 13:25

    Dear Sean Jhonson
    When trying to construct the code, the first error that is seen is:
    Sub or Function not set, CleanUpMultiLineInfo
    Please, please allow me the code, otherwise it would be frustrating for me.
    Thank you
    Jaime
    Cusco – PerĂº

    Reply
    • Sean Johnson says

      05/01/2017 at 13:56

      HI Jamie

      I sent you an email with the code yesterday. can you check your “spam” folder.
      also i fixed the problem yesterday. so if you put your details into the yellow box
      above the “system” should recognize your email address and send you to the
      download straight away.
      Please let me know if this works, also let me know if the problem persists.

      Best Regards

      Sean

      Reply
  2. Jaime Pantigoso says

    05/01/2017 at 14:18

    Dear Johnson
    I just received your email, thank you very much, at this moment I am starting to review the code.
    regards
    Jaime

    Reply
  3. Jaime Pantigoso says

    06/01/2017 at 11:54

    Dear Sean Johson
    Definitely this tutorial changes my approach about VBA, it is extraordinary the algorithm that you use, it seems great and as they say in the simplest it shows the great thing. Thanks John for your contribution, it will help me to improve what I was learning from the VBA.
    Actually, I am committed to developing a code that can follow a process such as making a piece of furniture, but applying Auto Shapes of Excel where each Shape means a milestone in the process and that serves to show if I am delayed with a color Red or if I’m near the deadlines with a yellow and green if all goes well. Please, if you could comment something about it or else you would recommend me some web address that you know about this subject.
    Thank you so much for everything, may Diod bless you.
    regards
    Jaime Pantigoso
    Cusco – PerĂº

    Reply
    • Sean Johnson says

      06/01/2017 at 14:12

      Hi Jamie

      Thanks for that.

      I suggest getting on top of object oriented programming techniques in vba to write an app like you suggest.
      Have a look at the youtube video in this post VBA Class Modules

      Sean

      Reply

Leave a Reply to Jaime Pantigoso Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Free Training Videos

Make VBA Listbox Work as Database Grid

Image

Ulitmate Excel VBA Advanced Filter Tutorial

Click video and press f for full screen or watch on YouTube

Dynamically Link Images to LibreOffice Base Form

Click video and press f for full screen or watch on YouTube

Create Database with LibreOffice Base

Click video and press f for full screen or watch on YouTube

Create VBA Form In Excel

Click video and press f for full screen or watch on YouTube

Affiliate Disclamer

We hope you love the products we recommend! Just so you know, we may collect a share of sales or other compensation from the links on this page.
Thank you if you use our links, we really appreciate it!

Terms Of Service | Privacy Statement | Copyright © 2024 BusinessProgrammer.com.