Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15587

[RESOLVED] Date Format

$
0
0
I am using VB6 on WIN10.
I don't know if this post belongs in an Excel forum or here!

I connect to an Excel spreadsheet and try to format a field.

I use the command
"Range("D1").value = Format(Now, "MM/DD/YY")"

I expect to get, for example 09/16/20. Instead I get 9/16/2020.

Thanks

Viewing all articles
Browse latest Browse all 15587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>