+ Reply to Thread
Results 1 to 7 of 7

Help to join 2 sets of data by modifying MACRO into VBA

  1. #1
    Registered User
    Join Date
    08-09-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007/2010/365
    Posts
    82

    Help to join 2 sets of data by modifying MACRO into VBA

    Dear All,

    We need to get data from 2 system and combine them into 1 summary and format the header and do a sum adding.

    I had attached a workbook with the MACRO that I had created which some steps that still needs to do manually.

    Is it possible to write a VBA and do it in 1 button?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Help to join 2 sets of data by modifying MACRO into VBA

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: Help to join 2 sets of data by modifying MACRO into VBA

    Hi
    Try
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-09-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007/2010/365
    Posts
    82

    Re: Help to join 2 sets of data by modifying MACRO into VBA

    Thanks to both LeoTaxi and mohadin.

    I had adopted and do some amendments to LeoTaxi's script but was stuck on how to fixed the row height to 15.5 using LeoTaxi's script.

    I had tried few ways to add in a fixed row height script but failed.

    Can I fixed a top page margin to 4cm and bold the last row (the sum amount)?

    Can someone help?
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Help to join 2 sets of data by modifying MACRO into VBA

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Last edited by LeoTaxi; 03-29-2021 at 03:07 AM.

  6. #6
    Registered User
    Join Date
    08-09-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007/2010/365
    Posts
    82

    Re: Help to join 2 sets of data by modifying MACRO into VBA

    Quote Originally Posted by LeoTaxi View Post
    Please Login or Register  to view this content.
    Kind regards
    Leo
    Dear Leo,

    I had amended this section as the addition is not working as my rows will change from time to time.

    Please Login or Register  to view this content.
    Thank you for the guidance and the code works great!!

  7. #7
    Registered User
    Join Date
    08-09-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007/2010/365
    Posts
    82

    Re: Help to join 2 sets of data by modifying MACRO into VBA

    Quote Originally Posted by mohadin View Post
    Hi
    Try
    Please Login or Register  to view this content.
    Dear Mohadin,

    Your code was "too complicated" for me to modify but appreciate your help.

+ 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] How to join three sets of code together
    By CPAC in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2018, 04:53 AM
  2. Replace a blank cell in a column by a specific text using a macro
    By sai abhilash in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2016, 03:16 PM
  3. Need help with adjusting/modifying macro to fit my data
    By thlee1122 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2015, 04:43 PM
  4. How to join two record sets from different DB using vba
    By sreenivast in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2014, 06:25 PM
  5. Compare two sets of data and join together
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2010, 10:05 AM
  6. Modifying sort data macro
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2010, 05:43 PM
  7. Modifying VBA to create new macro for recording data
    By sighlent1 in forum Excel General
    Replies: 2
    Last Post: 12-30-2009, 08:26 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