VBA Copy ActiveCell Format Every 6 Columns to the Right

makaotk

New Member
Joined
Feb 17, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi There,

My level of coding in VBA is very basic, so any help is appreciated. I have a bi-weekly budget spread out over 3 years. There are 6 columns associated with every bi-weekly payment. The first two columns deal with Budget (col #1) and Actuals (col #2). The four following columns deal with added information to help me with budget decisions. My budget items are spread down the rows (over 500).

Currently, there's some conditional formatting in column #2 that I copy (I double click Format Painter) and then manually click every 6th cell to the right (the next bi-weekly column #2) to paste the conditional formatting. I need to do this 26X3 times.

Can someone help me create a VBA code to automatically do the formatting for me? Thanks
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,214,587
Messages
6,120,406
Members
448,958
Latest member
Hat4Life

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