ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¿é¤J½d³ò§PÂ_Àx¦s®æ

¥Î select case  ¥H¤U¬°½d¨Òµ{¦¡½X

Sub g1()
Dim i As Integer
Dim c As Integer

i = Worksheets("sheet1").Cells(65536, 1).End(xlUp).Row

For x = 1 To i

c = Cells(x, 1)

Select Case c

Case Is < 11

Cells(x, 2) = "A"

Case Is < 21

Cells(x, 2) = "B"

Case Is < 31

Cells(x, 2) = "C"

Case Is < 41

Cells(x, 2) = "D"

End Select

Next x

End Sub
GinBow

TOP

        ÀR«ä¦Û¦b : ­n¤ñ½Ö§ó¨ü½Ö¡D¤£­n¤ñ½Ö§ó©È½Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD