ladylissa21
New Member
- Joined
- Feb 23, 2015
- Messages
- 19
- Office Version
- 365
- Platform
- Windows
Hi! I'm trying my hand at editing a macro I recorded, and not having much luck. I just need to find a way to autofill the date just down to the last populated row instead of to the bottom of the page. Here's the pertinent section:
Columns("C:C").Select
Selection.InsertShift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Selection.NumberFormat = "mm/dd/yy"
Range("C1").Select
ActiveCell.FormulaR1C1 = "=TODAY()"
Range("C1").Select
Selection.AutoFillDestination:=Range("C:C")
Range("C:C").Select
Cells.Select
Columns("C:C").Select
Selection.InsertShift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Selection.NumberFormat = "mm/dd/yy"
Range("C1").Select
ActiveCell.FormulaR1C1 = "=TODAY()"
Range("C1").Select
Selection.AutoFillDestination:=Range("C:C")
Range("C:C").Select
Cells.Select