Beruflich Dokumente
Kultur Dokumente
sDay = Application.International(xlDayCode)
MsgBox Format(Now(), sDay & sDay & sDay & sDay)
'currency code:
The following are just a few of the index values for International() queries
xlCountrySetting Long Current country setting in the Windows Control Panel, or the country
number as determined by your Macintosh system
software.
xlLeftBracket String Character used instead of the left bracket ([) in R1C1-style relative
references.
xlRightBracket String Character used instead of the right bracket (]) in R1C1-style references.
xlLeftBrace String Character used instead of the left brace ({) in array literals.
xlRightBrace String Character used instead of the right brace (}) in array literals.
26
xlColumnSeparator String Character used to separate columns in array literals.
xlAlternateArraySeparator String Alternate array item separator to use if the current array
separator is the same as the decimal separator.
0 = ($x) or (x$)
1 = -$x or -x$
2 = $-x or x-$
3 = $x- or x$-
27
Note that the position of the currency symbol is determined by xlCurrencyBefore.
0 = month-day-year
1 = day-month-year
2 = year-month-day
xl24HourClock Boolean True if using 24-hour time, False if using 12-hour time.
xlMetric Boolean True if using the metric system, False if using the English measurement
system.
xlCurrencyBefore Boolean True if the currency symbol precedes the currency values, False if it
follows them.
xlCurrencyMinusSign Boolean True if using a minus sign for negative numbers, False if using
parentheses.
xlCurrencyTrailingZeros Boolean True if trailing zeros are displayed for zero currency values.
xlCurrencyLeadingZeros Boolean True if leading zeros are displayed for zero currency values.
xlMonthLeadingZero Boolean True if a leading zero is displayed in months (when months are
displayed as numbers).
28
xl4DigitYears Boolean True if using four-digit years, False if using two-digit years.
xlMDY Boolean True if the date order is month-day-year for dates displayed in the long form,
False if the date order is day-month-year.
Application.Cursor = xlWait
To set it back, which you must do before your code completes, use the following statement:
Application.Cursor = xlDefault
If you do not set it back (for example an error occurs that crashes your code), then the cursor will
stay an hourglass.
or
In the immediate window, you can get the a value by typing a question mark and a valid
statement:
?ActiveCell.Value
29