arunakumari02
Registered User.
- Local time
- Today, 15:28
- Joined
- Jun 2, 2008
- Messages
- 91
I have this code in the form "frmBars"
I am trying to assign dates to the txtfields.
txtMonth1 = CDate("1/1/" & Year(Date))
For intMonth = 1 To 11
"txtMonth" & (intMonth + 1) = DateAdd("m", 1, "txtMonth" &intMonth)
Next
The problem is at this statement
"txtMonth" & (intMonth + 1) = DateAdd("m", 1, "txtMonth" &intMonth)
Any Help is appreciated.
Thank you
I am trying to assign dates to the txtfields.
txtMonth1 = CDate("1/1/" & Year(Date))
For intMonth = 1 To 11
"txtMonth" & (intMonth + 1) = DateAdd("m", 1, "txtMonth" &intMonth)
Next
The problem is at this statement
"txtMonth" & (intMonth + 1) = DateAdd("m", 1, "txtMonth" &intMonth)
Any Help is appreciated.
Thank you
Last edited: