Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autofill dates

Status
Not open for further replies.

Eytch

Programmer
Jan 29, 2003
60
US
I used a selection statement to define a range using cells. Now that I have the column of cells comprising the area selected I want to format the first cell a date and autofill the remaining cells with successive days of the month. The area was defined using cells in the range statement (Range(Cells (TheRow,3), Cells(8,3))). How do you autofill a selected area without using cell addresses? Any suggestions.

Thanks,
Tripoli
 
Something like this ?
Selection.DataSeries Rowcol:=xlColumns, Type:=xlChronological, Date:=xlDay, Step:=1, Trend:=False

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top