Copy Value from row 2 down to row 100

hallingh

Well-known Member
Joined
Sep 11, 2010
Messages
769
I have a formula in row 2 of columns A:BY that I want to copy down to rows 3:100 using vba, but I'm not sure how to do it.

Basically just trying to save myself some time and not have to click and drag the formula for each column.

Thanks for any help you can give me!

Hank
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Try like this

Code:
Range("A2:BY2").AutoFill Destination:=Range("A2:BY100")
 
Upvote 0
I have a formula in row 2 of columns A:BY that I want to copy down to rows 3:100 using vba

Hi Hank

Remark:

You say you want to copy the formulas.

Fill methods will also copy formats in addition to copying the formulas. Is it what you want?
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,681
Members
452,937
Latest member
Bhg1984

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