Sub date_for_month()
Dim startdate as date
Dim enddate as date
Startdate =#01 Feb 2017 #
Enddate =#01 Mar 3017#
Do while startdate < enddate
Activecell = startdate
Startdate = startdate + 1
Activecell.offset(0,1), range ("A1").select
Loop
End sub
Still need some fine tunes
1. Date enter in excel cell (I don't want to edit every time in program)
2.only one month will given as input, next month should take automatically.. ( I'm thinking as Date =[(year),(Month+1),(day) ] function
Will it work
3. How to make run another workbook macro from active(master ) workbook
Dim startdate as date
Dim enddate as date
Startdate =#01 Feb 2017 #
Enddate =#01 Mar 3017#
Do while startdate < enddate
Activecell = startdate
Startdate = startdate + 1
Activecell.offset(0,1), range ("A1").select
Loop
End sub
Still need some fine tunes
1. Date enter in excel cell (I don't want to edit every time in program)
2.only one month will given as input, next month should take automatically.. ( I'm thinking as Date =[(year),(Month+1),(day) ] function
Will it work
3. How to make run another workbook macro from active(master ) workbook
Last edited: