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

¦Û°Ê§R°£ªÅ¥Õ¦C

¦U¦ì¤j¤j¦­±á, ½Ð¬Ýªþ¥ó,




¶À¦â³¡¥÷¬Opivot table, ºñ¦â³¡¥÷¬O­n§R°£ªºªÅ¥Õ¦C

¤p§Ì·Q½Ð±Ð¤U, ¦] ...
yowhome µoªí©ó 2013-4-9 09:55



´£¨Ñ­Ó¤p¤èªk
Sub owg()
Dim nt, un As String

nt = "NTHDE"
un = "UNIT NB"

For goe = 1 To 65535
    If Cells(goe, 2) = nt Then kn = goe + 2
    If Cells(goe, 2) = un Then ku = goe - 2

Next
'    Rows("36:36").Select '§R°£¾ã¦C

    Range("b" & kn, "j" & ku).Select
    Selection.Delete Shift:=xlUp
End Sub

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : ¤@¥y·Å·xªº¸Ü¡A´N¹³©¹§O¤H¨­¤WÅx­»¤ô¡A¦Û¤v·|ªg¨ì¨â¤Tºw¡C
ªð¦^¦Cªí ¤W¤@¥DÃD