VBA to copy/paste only specific rows

BMil8

Board Regular
Joined
Aug 9, 2010
Messages
116
Hello. I have a file that has a list of items (about 200) in column A. Each item has the same fields associated to it in column B (e.g. Beginning inventory, Expected Receipt, Forecast, Shipped Units, Open Orders, Ending Inventory). There's more, but you get the point. The data extends forward many weeks starting in Column C. These fields are populated by a formula. I'm looking to run a macro that allows me to hardcode only certain fields mentioned above but leave the others active.

I'd like Beginning and Ending Inventory to always remain a formula but hardcode the others starting in Column C through the end of the row. The number of items is constantly changing so it would need to be able to loop until the last sku. Same with the number of weeks in the columns.

Is this possible?

I'd otherwise just leave the formulas but I think they're causing the file to run very slowly.

Thanks in advance.
 

Some videos you may like

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

BMil8

Board Regular
Joined
Aug 9, 2010
Messages
116
1607114832948.png
 

Watch MrExcel Video

Forum statistics

Threads
1,126,998
Messages
5,622,097
Members
415,876
Latest member
csibonga2k17

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