Hi Everyone,
I'm doing alot of processing on Sheet1 and putting the output on Sheet2.
Can you tell me how to change my code so it will write out to "Sheet2" without flipping back and forth from "Sheet2" to "Sheet1"
Here is my code:
Sub Grid_Dates()
'
' Grid_Dates Macro
'
'
Range("B1").Select
Selection.AutoFill Destination:=Range("B1:AE1"), Type:=xlFillDefault
Range("B2").Select
Selection.NumberFormat = "dddd"
Selection.AutoFill Destination:=Range("B2:AE2"), Type:=xlFillDefault
Cells.EntireColumn.AutoFit
Range("B2").Select
End Sub
I'm doing alot of processing on Sheet1 and putting the output on Sheet2.
Can you tell me how to change my code so it will write out to "Sheet2" without flipping back and forth from "Sheet2" to "Sheet1"
Here is my code:
Sub Grid_Dates()
'
' Grid_Dates Macro
'
'
Range("B1").Select
Selection.AutoFill Destination:=Range("B1:AE1"), Type:=xlFillDefault
Range("B2").Select
Selection.NumberFormat = "dddd"
Selection.AutoFill Destination:=Range("B2:AE2"), Type:=xlFillDefault
Cells.EntireColumn.AutoFit
Range("B2").Select
End Sub