I’m trying to format the date value in Access VBA to show the current date on an excel file (for which I’m writing an Access VBA code). However, using Date() hasn’t helped (I’m guessing it only works within Access). For example, using Cells(2, 3) = Date() just shows a number “41039”, and not the date. I tried Format as well, and that hasn’t worked either.
I’m a newbie to Access VBA and would really appreciate any answers to the above question.
I’m trying to format the date value in Access VBA to show the current
Share
For the most part, a date should appear properly formatted, unless a previous format has been applied.