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

[µo°Ý] §R°£¦h¾lªºªíÀY

[µo°Ý] §R°£¦h¾lªºªíÀY

¦U¦ì¥ý¶i¡I
½Ð°Ý¦p¦ó³]­p§R°£¸ê®Æ¤¤¦h¾lªºªíÀY¡]¦pªþ¥ó¶À¦â°Ï°ì¦C¼Æ¡^
¶È«O¯d³Ì¤W­±ªºªíÀY¡C

ÁÂÁÂ
W1.rar (4.61 KB)
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

¼Ó¤W¥N½X²©ú¬yºZ¡A·Q½Ð±Ð
³q±`Find¤èªk§ä¦hµ§·|¥ÎFindNext¤èªk¨Ï¥N½X§ó²¼ä
¦¹¨Ò¬O§_¦³¯S®í­ì¦]¤£¨Ï¥Î¡H

TOP

¦^´_ 4# donald

¥ý¶i
¦]ªíÀY¤­¦C¤¤¡A¦³¨ÇÄæ¦ì¦³¦X¨ÖÀx¦s®æ¡A
°õ¦æ¦³°ÝÃD

­Ó¤H·Qªk¡G
¨ÌAÄæ¨Ó§PÂ_¡A¥ÑA6¶}©l¦V¤U¡A¦pÀx¦s®æ¤º®e¥]§t¡ª¬Y¬Y¤½¥q©ïÀY¡ª¡A«h§R°£¤­¦C¦C¼Æ¡]§t¡ª¬Y¬Y¤½¥q©ïÀY¡ª¦C¡^
¦ý¥\¤O¤£¨¬¡A¤£ª¾¬O§_¥i¦æ¡C

ÁÂÁ«ü¾É
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦¹¨Ò¬O¦b¤j½d³ò¤ºª½±µ·j´M¡A¨Ã¤£¥²«ü©w¶}©l·j´M¦ì¸m
©Ò¥H¡A¨Ã¤£¼vÅT·j´Mµ²ªG¡A¦]¬°C¥Ã»·¬O§ä¨ì¬Û¦P­Èªº²Ä¤@­Ó¦ì¸m
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 4# donald

«D±`©êºp
VBA¥i¥H°õ¦æ
¦]§R°£ªíÀY¸ê®Æ¦ì©ó (Sheet2)¡Aµ{¦¡½X¦ì©ó(Sheet1)¡A°õ¦æ¦³°ÝÃD¡C
±Nµ{¦¡½X¦ì©ó(Sheet2)¡A«h°õ¦æOK¡C

«D±`·PÁÂ
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 7# b9208


    With ActiveSheet.UsedRange.Offset(1, 0)
¥u»Ý§ï³o¦æ¡AActiveSheet§ï¦¨§A­n§R°£ªº¤u§@ªí¦W§Y¥i
½Ð½T¹êÁA¸Ñµ{¦¡½X¡A½×¾Â¥i¤£¬O¥N¤u¼t
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 8# Hsieh

«ö¶sSheet1©óSheets(¡§Sheet1¡¨) ¤¤¡G
­×§ï¦p¤U¡G
With Sheets("WW").UsedRange.Offset(1, 0)
°õ¦æ¦³°ÝÃD¡]½Ð¬Ýªþ¥ó¡^

«ö¶sWW©óSheets(¡§WW¡¨) ¤¤¡G
With ActiveSheet.UsedRange.Offset(1, 0)
°õ¦æ OK ¡]½Ð¬Ýªþ¥ó¡^

¥t¥[¤J§R°£¦h¾lªíÀY«á¡A¦A§PÂ_DÄæ = ¡§ ¡§¡A«h§R°£¸Ó¦C¡C
AA = Range("A65536").End(xlUp).Row
    For i = 6 To AA
        If Cells(i, 4) = "" Then
        If myi Is Nothing Then
        Set myi = Cells(i, 4)
        Else
        Set myi = Union(myi, Cells(i, 4))
        End If
        End If
    Next
    If Not myi Is Nothing Then myi.EntireRow.Delete

«D±`·PÁ«ü±Ð

W1-1.rar (121.67 KB)
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 9# b9208
  1. Sub deldata_1()
  2. Dim c As Range
  3.   With Sheets("WW").UsedRange.Offset(1, 0)
  4.       Set c = .Find(Sheets("WW").Cells(1, 1), Lookat:=xlWhole)
  5.       If Not c Is Nothing Then
  6.           Do
  7.               c.Resize(5, 15).Delete (2)
  8.               Set c = .Find(Sheets("WW").Cells(1, 1), Lookat:=xlWhole)
  9.            Loop Until c Is Nothing
  10.       Else
  11.             MsgBox "¨S¦³§ä¨ì"
  12.       End If
  13.    End With
  14. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 10# Hsieh

ÁÂÁª©¥D«ü¾É
°õ¦æ¨S¦³°ÝÃD¤F
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : §Ú­Ì³Ì¤jªº¼Ä¤H¤£¬O§O¤H¡D¥i¯à¬O¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD