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

[µo°Ý] §ä¨ì¨Ã§R°£Á`­p=0ªºÄæ¦ì

[µo°Ý] §ä¨ì¨Ã§R°£Á`­p=0ªºÄæ¦ì

¦U¦ì¥ý¶i¡A½Ð°ÝÄæ¦C¼Æ¤£¤@©w¡A­n§ä¨ì©³³¡¥[Á`µ¥©ó0ªºÄæ¨Ã±N¸ÓÄæ§R°£

§R°£«á~

Excel-§R°£Á`­p0.rar (15.11 KB)
Adam

¸Õ¥X¨Ó¤F
Sub ¥¨¶°1()
'
' ¥¨¶°1 ¥¨¶°
'   
    Range("A1").Select
    row1 = ActiveCell.End(xlDown).Row
   
    Dim i&, xU As Range
    For i = 9 To Cells(row1, Columns.Count).End(xlToLeft).Column
    If Cells(row1, i) = 0 Then
       If xU Is Nothing Then Set xU = Cells(row1, i) Else Set xU = Union(xU, Cells(row1, i))
    End If
  Next i
  If Not xU Is Nothing Then xU.EntireColumn.Delete
   
End Sub
Adam

TOP

¦^´_ 3# Andy2483

·PÁ¦^´_¡A°õ¦æ«á¥i¥¿½T§ä¥XÁ`­p¬°0ªºÄæ¦ì
Adam

TOP

¦^´_ 4# hcm19522


    ·PÁÂhcm19522¤j´£¨Ñªº°Ñ¦Ò
Adam

TOP

        ÀR«ä¦Û¦b : §g¤l¦p¤ô¡AÀH¤è´N¶ê¡AµL³B¤£¦Û¦b¡C
ªð¦^¦Cªí ¤W¤@¥DÃD