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

[µo°Ý] ¦¹¥¨¶°¦p¦ó¼g??

[µo°Ý] ¦¹¥¨¶°¦p¦ó¼g??

e20¨ìe200 ¬°¤½¦¡¦p¤U
e20=IF(Y20="","",Y20/(y20-z20))
e21=IF(Y21="","",Y21/(y21-z21))
.....
...
­n²¾¨ìe20¨ìe200 ¤§¶¡­Ë¼Æ²Ä¤@µ§"¤£µ¥©óªÅ¥Õ"ªºÀx¦s®æ
¥¨¶°¦p¦ó¼g?

§ó§ï¤@¤U
¬Omouse ­n²¾¨ìe20¨ìe200 ¤§¶¡­Ë¼Æ²Ä¤@µ§"¤£µ¥©óªÅ¥Õ"ªºÀx¦s®æ

TOP

¦^´_ 2# t8899
  1. Sub TEST1()
  2.    
  3.     firstaddress = ""
  4.     With Selection
  5.         If .Cells(1, 1) = "" Then
  6.             firstaddress = .Cells(1, 1).Address
  7.             lastAddress = firstaddress
  8.         End If
  9.         Set c = .Find("", LookIn:=xlValues)
  10.         If Not c Is Nothing Then
  11.             If firstaddress = "" Then
  12.                 firstaddress = c.Address
  13.             End If
  14.             lastAddress = firstaddress
  15.             Do
  16.                 Set c = .FindNext(c)
  17.                 If Not c Is Nothing And c.Address <> firstaddress Then
  18.                     lastAddress = c.Address
  19.                 End If
  20.             Loop While Not c Is Nothing And c.Address <> firstaddress
  21.         End If
  22.     End With
  23.     MsgBox (lastAddress)
  24. End Sub
½Æ»s¥N½X
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

¦^´_  t8899
kimbal µoªí©ó 2013-1-30 22:11


ÁÂÁÂ!
³o¬O¥t¤@­Óµª®×´£¨Ñ°Ñ¦Ò
Range("e" & [e20:e200].Find("*", SearchOrder:=xlByRows, LookIn:=xlValues, _
   SearchDirection:=xlPrevious).EntireRow.Row).Select

TOP

        ÀR«ä¦Û¦b : ¥Í®ð¡A´N¬O®³§O¤Hªº¹L¿ù¨ÓÃg»@¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD