Exclude a range

YQue

New Member
Joined
Oct 7, 2002
Messages
9
Hi all,

I'm trying to exclude a range, when copying sheets in a Macro.

a3:ae7 is part of a header, but I can't seem to not copy that range when grabbing my data.

Suggestions are welcome!
Thanks in advance.

JQ
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
If you are copying a sheet everything will be copied. Just delete rows 3 to 7 after the sheet copy.
 

YQue

New Member
Joined
Oct 7, 2002
Messages
9
I know how to copy from copy-and-paste.
I developed a Macro that opens 100+ workbooks and copys the information to one master workbook. However each source worksheet has header information that I would like to exclude. The range I designated is the a3:ae7 indicated before.

Thanks
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
So what code are you using to perform the copy/paste? Can't you exclude the headers from the copy range?
 

Forum statistics

Threads
1,181,687
Messages
5,931,435
Members
436,789
Latest member
portugeezers

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
Top