Traditional Culture Encyclopedia - The 24 Solar Terms - How vba uses the current date
How vba uses the current date
Using excel's built-in function to realize vba's method of using the current date.
1, how to use the function date in excel:
2. In vba, you need to define a variable first, and then assign a date:
dim cuDate as string?
CuDate = date
In this way, the variable cuDate gets the value of Date.
3. Operation result:
Subtest ()
Dim cuDate as a string
CuDate = date
MsgBox cuDate
End joint
- Previous article:When do silkworm eggs produce young silkworms?
- Next article:202 1 Zodiac code table, Zodiac age comparison table 202 1
- Related articles
- Business hours of Nanjing Industrial and Commercial Bank 202 1 National Day
- What is the problem that AMGGTR can only drive 30 yards?
- How to maintain the body in shock?
- What day is off-year?
- Where is the car battery safety valve?
- Vernal equinox pinyin
- This 1 1 food will be eaten in heavy snow tomorrow, and the solar terms will be supplemented in heavy snow.
- How many geography textbooks are there in senior high school published by People's Education Press?
- What's special about beginning of autumn?
- My health is full, what should I do?