MonthName Function [VBA]

የ ወር ስም ተግባር የሚመልሰው የ ቋንቋውን የ ወር ስም ነው ለ ተወሰነው የ ወር ቁጥር:

warning

This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.


አገባብ:


        MonthName(Month as Integer [,Abbreviate as Boolean])
    

ዋጋ ይመልሳል:

String

ደንቦች:

ወር: ዋጋው ከ 1 እስከ 12, ከ መስከረም እስከ ጳጉሜ የ ቋንቋውን የ ወር ስም ነው የሚፈለገውን

Abbreviate: Optional. A Boolean value that indicates if the month name is to be abbreviated.

የ ስህተት ኮዶች:

5 ዋጋ የሌለው የ አሰራር ጥሪ

ለምሳሌ:


        REM  *****  BASIC  *****
        Option VBASupport 1
        Sub Example_MonthName
         Dim mBirthday as Integer
         mBirthday = 1
         print mBirthday &" "& MonthName(mBirthday,False)
        End Sub
    

Please support us!