- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2016-4-2 22:28 ½s¿è
¦^´_ luhpro
¥Ø«e´ú¸Õ³£OK¡CÁÙ¦³´XÓ°ÝÃD·Qn¦b½Ð±Ð
¤@¡B¦pªG¨Ó·½³æÀYªº¸ê®ÆÁÙ¦³¦hµ§¸ê®Æn¸ü¤J¡u¦X¨Ö¸ê ...
maggie1313 µoªí©ó 2016-4-1 11:42
§Ú¦b 2# ¦³»¡¤F³á :
¦pªG»Ýn¥Î¨ì¾ã¦C¤¤¤£¥u¤@Ä檺¸ê®Æ,
¥i¥H¯Á¤Þ ¦C¸¹:
vD1(CStr(.Cells(lRow, 1))) = lRow
¦A¥Î
Sheets("¦X¨Ö").Cells(lRow, 2) = Sheets("¯Á¤Þ¤@").Cells(vD1(sStr), Ä渹)
¨Ó¨ú±o·Qnªº¸ê®Æ.
¥unÅܧóÄ渹´N¥i¥H§ì¸Óµ§¸ê®Æ¤¤ªº¥ô¤@Ó¸ê®Æ,
«ÂI¬On¥ý¨ú±o¸Óµ§¸ê®Æªº¦C¸¹,
¬d¸ß®É¤]¬O¥H Key È(¦C¸¹)¨Ó¯Á¤Þ¸ê®Æªº.
©Ò¥H:
vD1(CStr(.Cells(lRow, 8) & "-" & .Cells(lRow, 9))) = .Cells(lRow, 14)
vD2(CStr(.Cells(lRow, 8) & "-" & .Cells(lRow, 9))) = .Cells(lRow, 15)
...
MixDB.Cells(lRow, 3) = vD1(CStr(.Cells(lRow, 8) & "-" & .Cells(lRow, 9)))
MixDB.Cells(lRow, 5) = vD2(CStr(.Cells(lRow, 8) & "-" & .Cells(lRow, 9)))
¥i¥H§ï¦¨:
vD1(CStr(.Cells(lRow, 8) & "-" & .Cells(lRow, 9))) = lRow
...
MixDB.Cells(lRow, 3) = EFhand.Cells(VD1(CStr(MixDB.Cells(lRow, 1) & "-" & Right(MixDB.Cells(lRow, 2), 12))),14) ' ¥u§ì«e 12 Ó¦r(201602220001)
MixDB.Cells(lRow, 5) = EFhand.Cells(VD1(CStr(MixDB.Cells(lRow, 1) & "-" & Right(MixDB.Cells(lRow, 2), 12))),15)
µ{¦¡Åܫܪø,¦ý¹ê»Ú¥i¨Ì§A»Ý¨Dµ½¥Î With »P End With ²¤Æ¤Î§Q©ó§PŪ.
¦Ü©ó VD2 ¥i¥H¯dµ¹ MixDB ¥Î .
¤T¡B¥t¥~§Ú·Qn¦b½Ð±Ð¤@Ó°ÝÃD...
vD2(CStr(MixDB.Cells(lRow, 1) & "~" & MixDB.Cells(lRow, 2) = lRow ' ½Ð¯d·N¦P¼Ë¬°ÁקK»~§P,³o¸Ì§ï¥Î "~" ¦Ó«D "-" ¨Ó°µ°Ï¹j.
«h ³æÀYª÷ÃB ¥i¥Î MixDB.Cells(VD2(CStr(TextBox1 & "~" & TextBox2 & "-" & TextBox3)), 3) ¨Ó§ì ' °²³] TextBox? ¤À§O©ñ ³æ¨³æ§O ¡B ³æ¨³æ¸¹ ¤Î §Ç¸¹
¤G¡B¥t¥~µ{¦¡¤¤¦³¤@¬q§Ú¤£¬O«Ü²M·¡¥Î·N...
³o¥u¬O«½ÆÅçÃÒ°õ¦æµ²ªG«e²M¸ê®Æ¥Îªº,
¬Ý§A¹ê»Úªº»Ý¨D¤£¨£±on©ñ. |
|