2021年2月3日星期三

How do you designate a Currency literal in VBA

If I wanted to define a Date literal, I would write the following:

Dim myDate as Date = #1/1/2021#

What character should I use to do an analogous thing for a Currency variable? That is

Dim amt as Currency = ?200.00? What character should "?" be when using VBA?

https://stackoverflow.com/questions/66038820/how-do-you-designate-a-currency-literal-in-vba February 04, 2021 at 11:05AM

没有评论:

发表评论