Av8tordude
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 1,075
- Office Version
- 2019
- Platform
- Windows
I have this code that I used before using an Excel Table. Since then, its not entering the dates. The table name is tblSchedule.
VBA Code:
With Wks
.Range("BS7") = "1/1/" & cboYear
.Range("BS7").DataSeries Rowcol:=xlColumns, Type:=xlChronological, Date:=xlDay, Step:=1, stop:=DateSerial(Year(Range("BS7").Value), 12, 31)
End With