austin350s10
Active Member
- Joined
- Jul 30, 2010
- Messages
- 321
Is there a way to copy a range of cells based on the current month?
Something like this maybe:
Something like this maybe:
Code:
if systemMonth=12 then
Range("A1:D12").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _:=False, Transpose:=False
else systemMonth=11 then
Range("A1:D11").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _:=False, Transpose:=False
'so on.....through the months of the year
end if