excel vba - ACCESS VBA date format change when changing numbers -
excel vba - ACCESS VBA date format change when changing numbers -
i have little vba code export access excel. did formatting number info type in code changes date format well. don't know syntax date format. 1 help me please.
for reference,
lvlcolumn = 0 recsetnxair.fields.count - 1 wrksheetnxair.cells(1, lvlcolumn + 1).value = _ recsetnxair.fields(lvlcolumn).name wrksheetnxair.cells(1, lvlcolumn + 1).entirecolumn.numberformat = sfromat next lvlcolumn
this code works numbers , need date well.
regards, jeeva
i have formatted using dbinteger or dbdouble respective field type user-defined format.
regards, jeeva
vba excel-vba
Comments
Post a Comment