µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
Excelµ{¦¡°Ï
» Ãö©óVBAÅܼưÝÃD
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[µo°Ý]
Ãö©óVBAÅܼưÝÃD
chiang0320
µoµu®ø®§
¥[¬°¦n¤Í
chiang0320
·í«eÂ÷½u
UID
23957
©«¤l
45
¥DÃD
15
ºëµØ
0
¿n¤À
92
ª÷¿ú
92
ÂI¦W
0
§@·~¨t²Î
?
³nÅ骩¥»
?
¾\ŪÅv
20
¦b½u®É¶¡
61 ¤p®É
µù¥U®É¶¡
2016-3-17
³Ì«áµn¿ý
2019-11-19
¤¤¾Ç¥Í
©«¤l
45
¥DÃD
15
ºëµØ
0
¿n¤À
92
ÂI¦W
0
§@·~¨t²Î
?
³nÅ骩¥»
?
¾\ŪÅv
20
µù¥U®É¶¡
2016-3-17
³Ì«áµn¿ý
2019-11-19
1
#
¸õÂà¨ì
»
¥¿§Ç¬Ý©«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2016-3-17 23:38
|
¥u¬Ý¸Ó§@ªÌ
[µo°Ý]
Ãö©óVBAÅܼưÝÃD
½Ð°Ý¤@Ó°ÝÃD
¯B°Êªº¤j¼Æ¾Ú¡A§Q¥Îcountif¨ç¼Æºâ¥X¼Æ¶q
°²³]ºâ¥X¨Ó¼Æ¶q¬O35663¡A¦A§â¦C§R±¼¡A¦p¤U:
------------------------------------------------------------------
Sub ¥¨¶°1()
Rows("2:
35663
").Select
Selection.Delete Shift:=xlUp
End Sub
------------------------------------------------------------------
¨C¦¸»Ýn¥Î¤â°Ê¦Û¤v¿é¤J©Ò±oªº¼Æ¶q
35663¬O¤@ÓÅܼơA½Ð°Ýn«ç»ò¼g¦¨VBA?¤£»Ýn¦A¤â°Ê¿é¤J?
¼Ó¥D¼ö©«
vlookup³t«×ºC¡A¨Ï¥Îvba¨ú¥Nªºµ{¦¡½X
IF¦h«§PÂ_¡A½ÐÀ°¦£¡AÁÂÁÂ!(VBA¼gªkÂন¨ç¼Æ
for next °j°é³t«×ºC¡A¦p¦ó§ï³t«×¯à¥[§Ö
¨Ï¥ÎVLOOPUP¨ç¼Æ¤ñ¹ï¥¿½Tªº¦W¦r(¦³±ø¥ó¤ñ¹ï
Ãö©óUnionªº¥Îªk¤Îקï¡A¨âÓ°ÝÃD½Ð±Ð
§PÂ_¤é´Á¤§«áªº¸ê®Æ¨Ãpºâ¼Æ¶q
¦Û°Ê¸Ñ¶}¬¡¶Ã¯³]©wªº±K½X (¤£n¸õ¥Xµøµ¡¨Ó
Ãö©ó¨Ï¥Î¿ý»s¥¨¶°½s×µ{¦¡½X--->"µL¸ê®Æ«h¸õ
Ãö©ótrend chart VBA¼gªk¡C ActiveChart.
¨Ï¥ÎVBA¤ñ¹ï¦hÓ¬Û¦P¦WºÙ°Ï¤À¥¿©Ît
¦¬ÂÃ
¤À¨É
clio
µoµu®ø®§
¥[¬°¦n¤Í
clio
·í«eÂ÷½u
UID
4354
©«¤l
132
¥DÃD
31
ºëµØ
0
¿n¤À
167
ª÷¿ú
167
ÂI¦W
0
§@·~¨t²Î
XP
³nÅ骩¥»
Office 2007
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
Taipei
¦b½u®É¶¡
378 ¤p®É
µù¥U®É¶¡
2011-4-14
³Ì«áµn¿ý
2024-2-28
¤¤¾Ç¥Í
©«¤l
132
¥DÃD
31
ºëµØ
0
¿n¤À
167
ÂI¦W
0
§@·~¨t²Î
XP
³nÅ骩¥»
Office 2007
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
Taipei
µù¥U®É¶¡
2011-4-14
³Ì«áµn¿ý
2024-2-28
6
#
µoªí©ó 2016-3-24 11:13
|
¥u¬Ý¸Ó§@ªÌ
³oÓ¦³¤GºØ¤è¦¡³B²z
Dim x As Long
Dim Rows_Str As String
'xÅܼƽЦۦæ³]©w
Rows_Str = "2:" & CStr(x)
Rows(Rows_Str).Delete shift:=xlUp
'¥t¤@Ó¤èªk¬O¥ÎRange¨Ó³B²z
With ActiveSheet
.Range(.Rows(2), .Rows(x)).Delete shift:=xlUp
End With
³o¤GÓ³£¯à¹F¨ì¬Û¦Pªº¥Øªº
clio
TOP
chiang0320
µoµu®ø®§
¥[¬°¦n¤Í
chiang0320
·í«eÂ÷½u
UID
23957
©«¤l
45
¥DÃD
15
ºëµØ
0
¿n¤À
92
ª÷¿ú
92
ÂI¦W
0
§@·~¨t²Î
?
³nÅ骩¥»
?
¾\ŪÅv
20
¦b½u®É¶¡
61 ¤p®É
µù¥U®É¶¡
2016-3-17
³Ì«áµn¿ý
2019-11-19
¤¤¾Ç¥Í
©«¤l
45
¥DÃD
15
ºëµØ
0
¿n¤À
92
ÂI¦W
0
§@·~¨t²Î
?
³nÅ骩¥»
?
¾\ŪÅv
20
µù¥U®É¶¡
2016-3-17
³Ì«áµn¿ý
2019-11-19
5
#
µoªí©ó 2016-3-19 10:09
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
5#
c_c_lai
À´¤F¡AÁÂÁ¡I
TOP
c_c_lai
µoµu®ø®§
¥[¬°¦n¤Í
c_c_lai
·í«eÂ÷½u
UID
8671
©«¤l
2035
¥DÃD
24
ºëµØ
0
¿n¤À
2031
ª÷¿ú
2031
ÂI¦W
0
§@·~¨t²Î
Win7
³nÅ骩¥»
Office2010
¾\ŪÅv
100
©Ê§O
¨k
¦b½u®É¶¡
2394 ¤p®É
µù¥U®É¶¡
2012-3-22
³Ì«áµn¿ý
2024-2-1
³Õ¤h¯Z
©«¤l
2035
¥DÃD
24
ºëµØ
0
¿n¤À
2031
ÂI¦W
0
§@·~¨t²Î
Win7
³nÅ骩¥»
Office2010
¾\ŪÅv
100
©Ê§O
¨k
µù¥U®É¶¡
2012-3-22
³Ì«áµn¿ý
2024-2-1
4
#
µoªí©ó 2016-3-19 07:27
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
4#
chiang0320
x ¬°¤@ÓÅܼƫ¬ºA«Å§i
§Aªº´£°Ý¡G ¬°¦ó""¤£¥Î¥]¨ìx «o¦h¤F&
Rows("2:x").delete
"2:x" ³Qµø¬°¬O¤@Ó¦r¦ê«¬ºA¡A°õ¦æ®É«h·|²£¥Í
------------------------
°õ¦æ¶¥¬q¿ù»~ '13'
«¬ºA¤£²Å¦X
------------------------
x = 35663
Rows("2:" & x).Delete
"2:" & x §Yµ¥©ó "2:35663"
©Ò¥H¤@¤Á§¡¯à¥¿±`°õ¦æ¡C
TOP
chiang0320
µoµu®ø®§
¥[¬°¦n¤Í
chiang0320
·í«eÂ÷½u
UID
23957
©«¤l
45
¥DÃD
15
ºëµØ
0
¿n¤À
92
ª÷¿ú
92
ÂI¦W
0
§@·~¨t²Î
?
³nÅ骩¥»
?
¾\ŪÅv
20
¦b½u®É¶¡
61 ¤p®É
µù¥U®É¶¡
2016-3-17
³Ì«áµn¿ý
2019-11-19
¤¤¾Ç¥Í
©«¤l
45
¥DÃD
15
ºëµØ
0
¿n¤À
92
ÂI¦W
0
§@·~¨t²Î
?
³nÅ骩¥»
?
¾\ŪÅv
20
µù¥U®É¶¡
2016-3-17
³Ì«áµn¿ý
2019-11-19
3
#
µoªí©ó 2016-3-19 00:33
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
2#
³X«È
Rows("2:x").delete ¬°¦ó¤£¯à¼g¦¨³o¼Ë¡H
¥¿½T¼gªk¡A¬°¦ó""¤£¥Î¥]¨ìx «o¦h¤F&
TOP
³X«È
µoµu®ø®§
¥[¬°¦n¤Í
³X«È
·í«eÂ÷½u
UID
23973
©«¤l
8
¥DÃD
2
ºëµØ
0
¿n¤À
8
ª÷¿ú
8
ÂI¦W
0
§@·~¨t²Î
Window7
³nÅ骩¥»
Office2007
¾\ŪÅv
10
©Ê§O
¨k
¦b½u®É¶¡
2 ¤p®É
µù¥U®É¶¡
2016-3-18
³Ì«áµn¿ý
2024-4-11
¤p¾Ç¥Í
©«¤l
8
¥DÃD
2
ºëµØ
0
¿n¤À
8
ÂI¦W
0
§@·~¨t²Î
Window7
³nÅ骩¥»
Office2007
¾\ŪÅv
10
©Ê§O
¨k
µù¥U®É¶¡
2016-3-18
³Ì«áµn¿ý
2024-4-11
2
#
µoªí©ó 2016-3-18 21:41
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
1#
chiang0320
x = 35663
Rows("2:" & x).Delete
TOP
ÀR«ä¦Û¦b :
·R¤£¬On¨D¹ï¤è¡A¦Ó¬On¥Ñ¦Û¨ªº¥I¥X¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·