Nov 4, 2010 #1 Obalola MIS Apr 6, 2010 8 GB Can anyone please tell me how to insert the current month in a column of an Access table created using a macro.
Can anyone please tell me how to insert the current month in a column of an Access table created using a macro.
Nov 4, 2010 #2 Andrzejek Programmer Jan 10, 2006 8,548 US You can use this in VBA: Code: Month(Date) [green]'returns: 11 or[/green] MonthName(Month(Date)) [green] 'returns: November[/green] Have fun. ---- Andy Upvote 0 Downvote
You can use this in VBA: Code: Month(Date) [green]'returns: 11 or[/green] MonthName(Month(Date)) [green] 'returns: November[/green] Have fun. ---- Andy