Help request - trying to copy formulas in one column to all columns in a dynamic named range

rogeryung

New Member
Joined
Mar 10, 2010
Messages
33
I have a dynamic named range that changes based on what month I select from a drop down list. Basically it says all months after the selected is considered an Outlook, and everything else is "Actual". I want to update all the "Actual" columns (H5:?500) then overwrite it as values to to keep my file performance decent. I only have formulas in one column range (g5:g500). For reasons I can't understand, my macro is only copying formulas to the first column in that named range. Can some one please help? Below is a sample of my code. I am a total noob with VBA.

Kind Regards
Roger

Sheets("BM - Base OL Walk").Select
ActiveSheet.Range("$A$12:$A$500").AutoFilter Field:=1
Range("G5:G500").Select
Selection.Copy

ActiveSheet.Range("actuals_walk").Select

Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False

Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Range("C3").Select
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,395
Messages
6,119,265
Members
448,881
Latest member
Faxgirl

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