Nov 4, 2010 #1 Obalola MIS Joined Apr 6, 2010 Messages 8 Location 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 Joined Jan 10, 2006 Messages 8,576 Location 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