VBA to Return Data From D3 and F3:N60 From Sheets Between IGNORE1 and IGNORE2 to Import Sheet

menor59

Well-known Member
Joined
Oct 3, 2008
Messages
574
Office Version
  1. 2021
Platform
  1. Windows
Good Morning Folks.

I am Trying to get data Between Sheetnames IGNORE1 and IGNORE2

On Each Sheet Between IGNORE1 and IGNORE2 D3 is a Site Designation...These Change on Each Sheet...

on each sheet between IGNORE1and IGNORE2 There is a Range of data found in F3:N That i only want to fill to the IMPORT tab if theres Data in Column G

Lets say theres 2 sheets Between IGNORE1 and IGNORE2

The Result on the IMPORT Tab should Look Like this

The First COLUMN is Data from D3 Between IGNORE1 and IGNORE2
The columns next to that are data from those tabs F3:N

This is a Sheet Between IGNORE1 and IGNORE2


D3FGHI etc...N
WI-DARFrontRear1234567
WI-DARFront Side
WI-DARFront1Rear1abcdefg


another sheet Between INGORE 1 and IGNORE2
D3FGHI etc...N
PA-CHMFront2Rear21234567
PA-CHMFront3Rear3abcdefg
PA-CHMFront side
PA-CHMFront4Rear4100200300400500600700
PA-CHMFront5Rear5aaabbbcccdddeeefffggg
PA-CHMFront6


End Result on Import Tab:

Data FROM D3FGHI etc...N
WI-DARFrontRear1234567
WI-DARFront1Rear1abcdefg
PA-CHMFront2Rear21234567
PA-CHMFront3Rear3abcdefg
PA-CHMFront4Rear4100200300400500600700
PA-CHMFront5Rear5aaabbbcccdddeeefffggg

Thank you for your time!
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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