Macro Copy from 2 tables in another one

anpak

New Member
Joined
Oct 19, 2021
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hello,

we have the situation described below:

Sheet 1 (input table):
  • Two tables, the first starts from A1, the second starts from E1
  • In both of those tables the number of rows is variable
1635242954424.png
1635242957659.png


Sheet 2 (output table):
  • One table that start from A1
  • We would like to copy in this output table the cells highlighted in yellow of the two tables in the Sheet 1
  • The copy in the output table have to start from the first empty cell
  • When the Item is empty, the script must skip that row
1635242864803.png


Is it possible by creating a macro?

Regards,
Antonio
 

Attachments

  • 1635242726209.png
    1635242726209.png
    7.3 KB · Views: 3

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hello...someone can help me with this request please?

Regards,
Antonio
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,213
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top