Help me with copy paste macro please

Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
446
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi All,

I would like a to get a VBA code that, once I press it, looks at cell D5 and then copy pastes the formula from BW34:BW36 to BX34:BX3, as well as from BX41:BX50, because cell BX6 is >= 2.
The next month, when cell D6 is updated to the number 3, it should update column BY as well.

Please see the image below. Also uploaded excel copy paste below the image.

Let me know if you have any questions - it would be greatly appreciated!

1741353273486.png




Current Month 20252
clip_image002.png
123456789101112
clip_image004.png

JAN
2025

FEB
2025

MAR
2025

APR
2025

MAY
2025

JUN
2025

JUL
2025

AUG
2025

SEP
2025

OCT
2025

NOV
2025

DEC
2025
Total
2025
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
FORMULA -
FORMULA -
FORMULA -
- - - - - - - - - - - - -
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT -
- -
FORMULA -
FORMULA -
FORMULA -
FORMULA -
FORMULA -
FORMULA -
FORMULA -
FORMULA -
FORMULA -
- - - - - - - - - - - - -
 

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