>>Sub create_new_week() >>' >>' create_new_week Macro >>' Macro recorded 10/7/2003 >>' >> Range(Selection, Selection.End(xlToRight)).Select >> Range("A3:H8").Select >> Selection.Copy >> Selection.Insert Shift:=xlDown >> Range("B4:H6").Select >> Selection.ClearContents >>End Sub >>>>
>#Define xlShiftDown -4121 >With ox.ActiveWorkBook.ActiveSheet > .Range("A3:H8").Select > .Application.Selection.Copy > .Application.Selection.Insert(xlShiftDown) > .Range("B4:H6").Select > .Application.Selection.ClearContents >Endwith >>And this is alternative (unlike macro you don;t need to work with Selection)
>#Define xlShiftDown -4121 >With ox.ActiveWorkBook.ActiveSheet > .Range("A3:H8").Copy > .Range("A3:H8").Insert(xlShiftDown) > .Range("B4:H6").ClearContents >* .Range("B4:H6").Select && If you want to have it selected as macro does >Endwith >Cetin