VBA: Looping Macro to copy & paste

whitebread136

New Member
Joined
Aug 8, 2014
Messages
3
I have a very cumbersome Macro set up that I know is unnecessarily long. It takes about 25 minutes to run and I finally have some time to look at making it more concise.

Basically all I need the macro to do is enter two values into cells A1 and A2 (these are inputs to a formula) and then have it copy and paste the result in cell A3 to B1. I need this process to repeat a few hundred time but with different values for A1 and A2 each time and I need the result to paste below the preceding result (so have a string of results from B1 down to B1000). I would appreciate any help. Thanks
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,216,872
Messages
6,133,168
Members
449,783
Latest member
cj75

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