易マクロとレベルマクロ


易マクロ(Module.saikoro)

Dim i As Integer

Sub saikoro()
Randomize
i = Int(Rnd() * 64)

Select Case i
Case 0:
MsgBox "1の卦(乾為天)を見てください"
Case 1:
MsgBox "2の卦(坤為地)を見てください"
Case 2:
MsgBox "3の卦(水雷屯)を見てください"
Case 3:
MsgBox "4の卦(山水蒙)を見てください"
Case 4:
MsgBox "5の卦(水天需)を見てください"
Case 5:
MsgBox "6の卦(天水訟)を見てください"
Case 6:
MsgBox "7の卦(地水師)を見てください"
Case 7:
MsgBox "8の卦(水地比)を見てください"
Case 8:
MsgBox "9の卦(風天小蓄)を見てください"
Case 9:
MsgBox "10の卦(天沢履)を見てください"
Case 10:
MsgBox "11の卦(地天泰)を見てください"
Case 11:
MsgBox "12の卦(天地否)を見てください"
Case 12:
MsgBox "13の卦(天火同人)を見てください"
Case 13:
MsgBox "14の卦(火天大有)を見てください"
Case 14:
MsgBox "15の卦(地山謙)を見てください"
Case 15:
MsgBox "16の卦(雷地予)を見てください"
Case 16:
MsgBox "17の卦(沢雷随)を見てください"
Case 17:
MsgBox "18の卦(山風蟲)を見てください"
Case 18:
MsgBox "19の卦(地沢臨)を見てください"
Case 19:
MsgBox "20の卦(風地観)を見てください"
Case 20:
MsgBox "21の卦(火雷噬□)を見てください"
Case 21:
MsgBox "22の卦(山火賁)を見てください"
Case 22:
MsgBox "23の卦(山地剥)を見てください"
Case 23:
MsgBox "24の卦(地雷復)を見てください"
Case 24:
MsgBox "25の卦(天雷无妄)を見てください"
Case 25:
MsgBox "26の卦(山天大畜)を見てください"
Case 26:
MsgBox "27の卦(山雷頤)を見てください"
Case 27:
MsgBox "28の卦(沢風大過)を見てください"
Case 28:
MsgBox "29の卦(坎為水)を見てください"
Case 29:
MsgBox "30の卦(離為火)を見てください"
Case 30:
MsgBox "31の卦(沢山咸)を見てください"
Case 31:
MsgBox "32の卦(雷風恒)を見てください"
Case 32:
MsgBox "33の卦(天山遯)を見てください"
Case 33:
MsgBox "34の卦(雷天大壮)を見てください"
Case 34:
MsgBox "35の卦(火地晋)を見てください"
Case 35:
MsgBox "36の卦(地火明夷)を見てください"
Case 36:
MsgBox "37の卦(風火家人)を見てください"
Case 37:
MsgBox "38の卦(火沢けい)を見てください"
Case 38:
MsgBox "39の卦(水山蹇)を見てください"
Case 39:
MsgBox "40の卦(雷水解)を見てください"
Case 40:
MsgBox "41の卦(山沢損)を見てください"
Case 41:
MsgBox "42の卦(風雷益)を見てください"
Case 42:
MsgBox "43の卦(沢天夬)を見てください"
Case 43:
MsgBox "44の卦(天風逅)を見てください"
Case 44:
MsgBox "45の卦(沢地萃)を見てください"
Case 45:
MsgBox "46の卦(地風升)を見てください"
Case 46:
MsgBox "47の卦(沢水困)を見てください"
Case 47:
MsgBox "48の卦(水風井)を見てください"
Case 48:
MsgBox "49の卦(沢火革)を見てください"
Case 49:
MsgBox "50の卦(火風鼎)を見てください"
Case 50:
MsgBox "51の卦(震為雷)を見てください"
Case 51:
MsgBox "52の卦(艮為山)を見てください"
Case 52:
MsgBox "53の卦(風山漸)を見てください"
Case 53:
MsgBox "54の卦(雷沢帰妹)を見てください"
Case 54:
MsgBox "55の卦(雷火豊)を見てください"
Case 55:
MsgBox "56の卦(火山旅)を見てください"
Case 56:
MsgBox "57の卦(巽為風)を見てください"
Case 57:
MsgBox "58の卦(兌為沢)を見てください"
Case 58:
MsgBox "59の卦(風水渙)を見てください"
Case 59:
MsgBox "60の卦(水沢節)を見てください"
Case 60:
MsgBox "61の卦(風沢中孚)を見てください"
Case 61:
MsgBox "62の卦(雷山小過)を見てください"
Case 62:
MsgBox "63の卦(水火既済)を見てください"
Case 63:
MsgBox "64の卦(火水未済)を見てください"


End Select

End Sub


レベルマクロ(Module.saikoro2)

Dim i As Integer

Sub saikoro2()

Randomize
i = Int(Rnd() * 6)

Select Case i
Case 0:
MsgBox "レベル@を見てください"
Case 1:
MsgBox "レベルAを見てください"
Case 2:
MsgBox "レベルBを見てください"
Case 3:
MsgBox "レベルCを見てください"
Case 4:
MsgBox "レベルDを見てください"
Case 5:
MsgBox "レベルEを見てください"


End Select

End Sub


作成:1999年08月28日土曜日
修正:2002年9月28日 土曜日

The comSpot Inc. 古野 操