¤£¦P¤u§@ªí¤ºªº¸ê®Æ¤ñ¹ï»P¶ñ¤J.
- ©«¤l
- 199
- ¥DÃD
- 45
- ºëµØ
- 0
- ¿n¤À
- 252
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7 (X64)
- ³nÅ骩¥»
- office 2010 (x64)
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2010-12-24
- ³Ì«áµn¿ý
- 2020-3-31
|
¦^´_ 7# HUNGCHILIN
ªü¦Nª©¥D:¤£¬O¦Ò¸Õ,¬O¯uªº¤£À´,¸g¹L§Aªº¸ÑÄÀ·N«ä¬O³o¼Ëªº¶Ü?
Dim a, b As Intger
1)a ©M b ªº«¬§O¬O¤£¤@¼Ëªº. (a ¬O Variant <Excel ªº¹w³]«¬§O> ), b ¬OInteger .
2)·N«ä¬O Dim «á±ªº",", ¬O¤@Ó¤@ÓÅܼƪº¤À¹j, ¨CÓÅܼƳ£¬O¿W¥ßªº.
§Æ±æ³o¦¸¯uªº·dÀ´¤F,¼g VBA ®É±`¦b³o¸Ì¥X¿ù. |
|
V98
|
|
|
|
|
¡@¼ÊºÙ: ªü¦N ¡@ÀY»Î: ¤£®¢¤U°Ý,¤£Â_¾Ç²ß,¤~·|¶i¨B
ª©¥D
- ©«¤l
- 647
- ¥DÃD
- 190
- ºëµØ
- 24
- ¿n¤À
- 1037
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- Office 2010 ; OOO3.0 ; Google
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦Ë«n
- µù¥U®É¶¡
- 2010-5-2
- ³Ì«áµn¿ý
- 2022-6-24
|
³o«h¦n¹³¦³¦Ò¸Õªº·Pı
¤@¬Ý¨ì²Ä1¶µ´Nª¾¹D¤£¤@¼Ë
Á|Ó¨Ò¤l
Sub DimAs1()
Dim Mynum1, Mynum2 As Integer '³o±ø Mynum1 ¤£·|ÅÜInteger
Dim Total As Integer, MyString As String * 4 '¦r¦êªø«×¬°4
MyString = _
"¼¶¼g¤p§Þ¥©": MsgBox MyString: MsgBox TypeName(MyString)
End Sub |
|
|
|
|
|
|
- ©«¤l
- 199
- ¥DÃD
- 45
- ºëµØ
- 0
- ¿n¤À
- 252
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7 (X64)
- ³nÅ骩¥»
- office 2010 (x64)
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2010-12-24
- ³Ì«áµn¿ý
- 2020-3-31
|
¦^´_ 4# GBKEE
½Ð°Ý «Å§i¦¡
1).Dim E As Range , I ©M Dim E, I As Range ¬O¤@¼Ëªº·N«ä¶Ü?
2).For Each E In Sheet1.Range("A:A").SpecialCells(xlCellTypeConstants)
¤¤¦pªG¥u³o¼Ë¼g Sheet1.range("A:A") ©M Sheet1.Range("A:A").SpecialCells(xlCellTypeConstants) ªº®t§O¦b¨º¸Ì? ¤£¬O³£·|±½´y¤@¹M¶Ü?
3).I = Application.Match(E, Sheet2.Range("A:A"), 0)
³o¼Ë¤@¦æ³o·|¦bSheet2.Range("A:A")±½´y¥X¬Ûµ¥ªº¸ê¶Ü?
4.)If IsNumeric(I) Then E.End(xlToRight).Offset(, 1) = Sheet2.Cells(I, "B")
¬°¤°»òn§@°µ IsNumeric(I) ³oӰʧ@ ©O?
|
|
V98
|
|
|
|
|
- ©«¤l
- 13
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 25
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-8-8
- ³Ì«áµn¿ý
- 2011-10-14
|
¦^´_ 4# GBKEE
ÁÂÁÂ.
³o¬O§Ú¨S¥Î¹Lªº»yªk.
°ÝÃD±o¨ì¸Ñ¨M¤F.
¦A¨Ó§Ú·|¬ã¨s¤@¤U³o¨Ç»yªkªº¤º®e. |
|
|
|
|
|
|
- ©«¤l
- 13
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 25
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-8-8
- ³Ì«áµn¿ý
- 2011-10-14
|
¦^´_ 2# asus103
¨Ï¥Îexcel¨ç¼Æ³oÓ§Úª¾¹D«ç»ò¼g.
§Úªº°ÝÃD¬O,§Ún¨Ï¥ÎVBA¶i¦æ³o¶µ¤u§@.§Ú¸Ó«ç»ò¼g»yªk? |
|
|
|
|
|
|
- ©«¤l
- 77
- ¥DÃD
- 11
- ºëµØ
- 0
- ¿n¤À
- 118
- ÂI¦W
- 0
- §@·~¨t²Î
- winXP
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-12-24
- ³Ì«áµn¿ý
- 2011-3-2
|
¥»©«³Ì«á¥Ñ asus103 ©ó 2011-1-9 17:45 ½s¿è
©óSHEET 1 ªºD1¤¤¼g¤J
=IF(ISERROR(VLOOKUP(A1,Sheet2!A:B,2,FALSE)),"",VLOOKUP(A1,Sheet2!A:B,2,FALSE))
¦A¦V¤U©Ô |
|
ASUS
|
|
|
|
|