40 pts.
 Can any one correct this Microsoft Excel VBA code?
ANY ONE CORRECT THIS Sub fill_series() Dim myrange As Range Set myrange = ActiveCell.Offset(0, 5) Range("N9").FormulaR1C1 = "Apr-2008" Range("N9").Select Selection.AutoFill Destination:=myrange, Type:=xlFillDefault End Sub

Software/Hardware used:
ASKED: February 24, 2009  9:47 AM
UPDATED: February 22, 2010  1:38 PM

Answer Wiki:
If your trying to fill in the next five columns from the active cell with the "Apr-2008" value then you could use: Dim Counter as Integer ActiveCell.Select For Counter = 1 To 5 Step 1 ActiveCell.FormulaR1C1 = "Apr-2008" ActiveCell.Offset(0,5).Select Next Counter Hope that helps
Last Wiki Answer Submitted:  February 22, 2010  1:38 pm  by  Darraca   260 pts.
All Answer Wiki Contributors:  Darraca   260 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _