Cberry
Board Regular
- Joined
- Jul 14, 2006
- Messages
- 95
Why is this:
Giving me a 1004 error.
Here is the entire macro:
Code:
Columns("BO:IV").Select
Selection.EntireColumn.Hidden = True
Giving me a 1004 error.
Here is the entire macro:
Code:
ActiveSheet.Unprotect
Range("A1").Select
Sheets("Calculation").Select
ActiveSheet.Unprotect
Range("BN3").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Range("BM3").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Range("A2").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
Sheets("Calculation").Select
Range("E3").Select
Range(Selection, Selection.End(xlDown)).Select
Application.CutCopyMode = False
Selection.ClearContents
Range("I3").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents
Columns("BO:IV").Select
Selection.EntireColumn.Hidden = True
Range("A1").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True