Macro Help Needed...

acemecca

New Member
Joined
Sep 14, 2011
Messages
19
Greetings:

I have a spreadsheet where I need to apply a formula into the A column, every fourth line. For example, on the attached spreadsheet, the data bank is on tab 'master data' and the form I am creating is on the second tab 'map report final'. I need to copy rows 9 thru 11 and paste this on A12, A15, A18, etc...throughout the entire sheet. Please locate my spreadsheet at http://www.filefactory.com/file/cede6b1/n/Copy_of_AP_Load_File_-_VAL_REPORT_v2.xlsx


I need a macro to copy rows 9-11, select every fourth row in the sheet, then pasting into those cells.

Please advise....and thanks again!

-Cole
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Something like this should work:

Code:
Dim i As Integer
    Range("A9:A11").Copy
    For i = 12 To 300 Step 3
        Application.EnableEvents = False
        Range("A" & i).PasteSpecial
        Application.EnableEvents = True
    Next
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,473
Members
452,915
Latest member
hannnahheileen

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