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

½Ð±Ð¡G¨ì³Ì«á¤@¦Cªº¤èªk...

½Ð±Ð¡G¨ì³Ì«á¤@¦Cªº¤èªk...

¨ìaÄ榳¸ê®Æªº³Ì«á¤@¦C»yªk¦p¤U:
Range("a65536").End(xlUp).Select

½Ð°Ý¡G¦pªGaÄ椤ªº­È§¡¬O¥H¤½¦¡±a¥X¡A¬Y¦C«á±a¥Xªº­È§¡¬°ªÅ­È¡A¦³¨S¦³¥i¥H¨ìA150©ÎA151ªº¤èªk¡]§Y±a¥X¹ê»Ú¦³¸ê®Æªº³Ì«á¤@µ§¡^
A1  100
A2  150
A3  90
.
.
A149 110
A150 125
A151 ¤§«á±a¥Xªº­È§¡¬°ªÅ¥Õ

Range("a65536").End(xlUp).Select

dim N as long
n=1
do
n=n-1
if not selection.offset(n,0).value="" then
exit do
end if
loop
selection.offset(n,0).select

§Ú¨S´ú¸Õ¡A¦Û¤v¸Õ¸Õ¬Ý¡I

TOP

¦^´_ 2# linyancheng


    §¹¬üµL»~¡A¤Ó·PÁ¤F:)

TOP

Cells(Rows.Count, 1).End(xlUp).Select

TOP

ROW1 = Range("a65536").End(xlUp).ROW
RANGE("A" & ROW1).SELECT

TOP

Sub zz()
a = Range("a1:a" & Cells(Rows.Count, 1).End(3).Row).Value
For i = UBound(a) To 1 Step -1
    If Len(a(i, 1)) Then Exit For
Next
Cells(i, 1).Select
End Sub

TOP

¦^´_ 6# ikboy


    ¤j¤jªº¤èªk¤]¥i¥H,¤Ó·PÁ¤F:)

  ¦A¦¸ÁÂÁ¤j®aªº«ü¾É!

TOP

Range("a65536").End(xlUp).Select

dim N as long
n=1
do
n=n-1
if not selection.offset(n,0).value="" then
exit do
end if
if selection.row +n -1 < 1 then
exit do
end if
loop
selection.offset(n,0).select

TOP

        ÀR«ä¦Û¦b : ª¾ÃÑ­n¥Î¤ßÅé·|¡A¤~¯àÅܦ¨¦Û¤vªº´¼¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD