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

[µo°Ý] «ç»ò¦bUSERFORM¤¤¥[¤J¥i¿z¿ï½Æ¿ï¤§¾ðª¬¹Ï

¦^´_ 22# luhpro

·PÁ«e½ú §Ú¤w¸g¤U¸ü¨Ó¸Õ¥Î
¸Õ¥Î¤§«áµo²{¨ä³Æ¥i¯à»~·|§Úªº·N«ä¤F
§Ú¥Î¹Ï¸Ñ
¦p¤U¹Ï(¤@)³o¬O°õ¦æ«e½úÀ°¦£ªºµ{¦¡«áªºµ²ªG

¹Ï¤¤¶]¥Xªº¬O165¦r¼Ë
¦ý§Ú·Q­nªº°õ¦æµ²ªG«h¬O¦p¹Ï(¤G):
4444.png
¹³¬O³o­Ó¼Ë¤lªº®Ö¨ú¤è¶ô¾ðª¬¹Ï

¹Ï(¤G)¬O§Ú¦b¤ÀªR«áªºªí®æ¤¤¤§¼ÐÅÒ¦C¤Uªº¿z¿ï½bÀY¿z¿ïVSL(²î²í)¥X¨ÓªººI¹Ï
¦p¹Ï(¤T)©Ò¥Ü


¤£ª¾¹D§Ú¸Ñ¬O³o¼Ë «e½ú¥i¥H¦n²z¸Ñ¶Ü?

§Ú²{¦b¥¿¦b¬ã¨s±zªºµ{¦¡½X³¡¤À
¦pªG«e½ú¦³°µ­×§ï»P¦^´_ ¦A³Â·Ð½Ð±zµ¹­Ó¥t¥~¸üÂI
¦]¬°§Ú¯uªº¨S¦³Åv­­
ÁÂÁ±z¤£Ã㨯³Òªº±Ð¾É!!

TOP

¥»©«³Ì«á¥Ñ luhpro ©ó 2016-4-25 22:56 ½s¿è
¦^´_  luhpro
...
¥[¤W§Ú¦]¬°Åv­­ªºÃö«YµLªk¤U¸üªþÀÉ
...
chaoyiho µoªí©ó 2016-4-25 19:19

«x?
­è­è¬d¤F¥»ºô¯¸ªº»¡©ú ¤p¾Ç¥Í¦³ "¤U¸ü/¬d¬Ýªþ¥ó" ªºÅv­­­C,
§A¤£¯à¶Ü?



´£¨Ñ¥t¤@­Ó¤U¸üÂI :
http://www.FunP.Net/695648

§Úªº°ÝÃD¥D­n¦³¨â­Ó
1.¹Á¸Õ«e½ú¤W­±ªºµ{¦¡½X ¥i¯à¦]¬°¤£ª¾¹D¸Ó©ñ­þÃä¦Ó³y¦¨¿ù»~¶i¦ÓµLªk°õ¦æ

¦pªþºô§}ªºÀÉ®×,
¸Õ¸Õ¬Ý­Y¦³°ÝÃD¦A´£¥X.

2.Ãö©ó­«½Æ°Ê§@ªºµ{¦¡½XÁY´î

¥D­n¬O§â­«½Æªºµ{¦¡½X¿W¥ß¥X¨Ó©ñ¦b Module ¤º,
¥H Public Sub ³Q©I¥sµ{§Ç¦W()   °µ¶}ÀY(¦p¦¹¾ã­ÓÀɮ׳£¯à©I¥s¦¹µ{§Ç),
¦b½T«O¨C­Ó©I¥sÂI³£¤£·|¦]§ï¦¨¦¹©I¥s¦Ó¨«¼Ëªº±¡§Î¤U,
¥H©I¥s¦¹µ{§Çªºµ{¦¡½X¨ú¥N­ì­«½Æªºµ{¦¡½X.

¦n³B¬O©ö©óºûÅ@»P°»¿ù,
¤§«á­×§ïµ{¦¡¥u»ÝÅܰʦ¹µ{§Ç¤º®e,
¤¤Â_ÂI¤]¥u­n³]¦b¦¹µ{§Ç¤º§Y¥i.
¤£¥Î¤@­Ó¤@­Ó¥h´M§ä¤Î­×§ïµ{¦¡½X©Î³]¤¤Â_ÂI.

TOP

¦^´_ 20# chaoyiho
§A§âÀÉ®×À£ÁY¤W¶Ç¡A¥H«K½T»{§Aªº°ÝÃD©Ò¦b¡C
¦]¬°§A´£¥Xªº°T®§»P­×¥¿¤º®eµLÃö¡C

TOP

¦^´_ 12# c_c_lai

·PÁÂcc¤jªº¦^ÂÐ
§Ú¦³¹Á¸Õ·ÓµÛ±zªº«ü¥Ü­×§ï
¦ý¬O«o·|µo²{¥X²{¤@­Ó·s°ÝÃD
activeX ¿ù»~
Google¤F¤@¤U
§Ú«o¬Ý¤£À´³o¨ì©³¬OÄÝ©ó¤@­Ó¤°»ò¼ËªºªF¦è
¹Á¸Õ¨ì¤u¨ã¦C¤¤´M§ä³o­Óªþ¥ó ¦ý¬O§Ú§ä¤£¨ì
½Ð°Ý³o¬O¤°»ò°ÝÃD©Ò¾É­P
§Ú¤S¸Ó«ç»ò¸Ñ¨M©O?

TOP

¦^´_ 15# GBKEE

·PÁª©¥D!!
¨º¦A½Ð°Ýª©¥D ½Ð°Ý±z³o­Óµ{¦¡½Xªº·N¸q¸Õ«ç»ò¤@­ÓÅÞ¿è©O?
§Æ±æ¥i¥H°w¹ï³o¼Ëªºµ{¦¡½X¸Ó©ñ¦b­þ¸Ì°µ«Å§i»Pµ{¦¡½X¤º®e°µ­ÓÁ¿¸Ñ
§Ú¯uªº«Ü§Æ±æ¥i¥H¾Ç·|
¦A¦¸ÁÂÁª©¥D!!

TOP

¦^´_ 13# luhpro

©êºp«e½ú¡A¨ì²{¦b¤~¦^
¨º¬O¦]¬°§Ú¤@ª½·Q­n±N±zªºÁ¿¸Ñtry¥X¨Ó¤§«á¦A¦^³ø§Úªº°ÝÃD»Pµo²{
¥i¬O§Úµo²{§Ú·d¤F´X¤ÑÁÙ¬O¨S¯àtry¥X¨Ó...
¯uªº¬O¯à¤O«D±`¤£¨¬
©Ò¥H¤µ¤Ñ¥[¯Z°È¥²§Æ±æ¥i¥H¬ã¨s¥X¨Ó!!

¥[¤W§Ú¦]¬°Åv­­ªºÃö«YµLªk¤U¸üªþÀÉ
½Ð°Ý«e½ú¥i¥H±NÀÉ®×±H¨ì§Úªº«H½c¶Ü?
Åý§Ú¦³­Ó°Ñ¦Ò..
§Úªº«H½c¬O:
[email protected]

¬ã¨s±z»¡ªº³o¨Ç µ²ªG¤@­Ó³£¨S¦³¸Õ¥X¨Ó ¤@ª½¥X²{¿ù»~
§Ú·Qµ´¹ï¬O¦]¬°§Úªºµ{¦¡½X¶K¿ù¦a¤è
¦]¬°¬Oªì¾ÇªÌªºÃö«Y
©Ò¥H¸ê®Æ¯S§O²V¶Ã
¤µ¤Ñ¥f°_¨Ó§âµ{¦¡½X³q³q°µ¤@­Ó¾ã²z
²{¦bµ{¦¡½X¤w¸g°µ¦n¤ÀÃþ ÁöµMÁÙ¬O«ÜÃ÷ªø...

§Úªº°ÝÃD¥D­n¦³¨â­Ó
1.¹Á¸Õ«e½ú¤W­±ªºµ{¦¡½X ¥i¯à¦]¬°¤£ª¾¹D¸Ó©ñ­þÃä¦Ó³y¦¨¿ù»~¶i¦ÓµLªk°õ¦æ
2.Ãö©ó­«½Æ°Ê§@ªºµ{¦¡½XÁY´î

·PÁ«e½ú­ÌªºÀ°¦£!!

TOP

¦^´_ 14# jackyq
¶â...
¦]¬°§Ú¤j³£¬O¬Ý¤pÀ°¤â»P¥»¯¸¦Û¾Ç,
¦³®É¦£¨S¬Ý¨ìªº°Q½×¦ê´N¥u¯à¿ù¥¢¾Ç²ß¤F,

¦b¤pÀ°¤â¸Ìªº»¡©ú:
Dictionary ª«¥ó
  ´y­z
ª«¥ó¡A¥Î©óÀx¦s¸ê®ÆÃöÁä¦r©M¶µ¥Ø¹ï¡C
»yªk
Scripting.Dictionary
½Ðª`·N
Dictionary ª«¥ó»P PERL ¬ÛÃö°}¦C¥þµ¥¡C¥i¥H¬O¥ô¦ó«¬¦¡ªº¸ê®Æªº¶µ¥Ø³QÀx¦s¦b°}¦C¤¤¡C¨C­Ó¶µ¥Ø³£»P¤@­Ó°ß¤@ªºÃöÁä¦r¬ÛÃö¡C¸ÓÃöÁä¦r¥Î¨Ó¨ú¥X³æ­Ó¶µ¥Ø¡A³q±`¬O¾ã¼Æ©Î¦r¦ê¡A¥i¥H¬O°£°}¦C¥~ªº¥ô¦ó«¬ºA¡C
¤U­±ªºµ{¦¡½XÁ|¨Ò»¡©ú¤F¦p¦ó«Ø¥ß¤@­Ó Dictionary ª«¥ó¡G

Dim d                   '«Ø¥ß¤@­ÓÅܼÆ
Set d = CreateObject(Scripting.Dictionary)
d.Add "a", "Athens"     '¥[¤J¤@¨ÇÃöÁä¦r©M¶µ¥Ø
d.Add "b", "Belgrade"d.Add "c", "Cairo"
...


©Ò¥H,§Ú¤@ª½¾Ç¨ìªº³£¬O Dictionary ª«¥ó­n¥Î Variant ¸ê®Æ«¬ºA ¨Ó«Å§i,
¦­¥ý¬°¤F¸Ñ¨MÃþ¦üªº¿ù»~, Is Nothing, Is Null, = Null, .... ¸Õ¤F¤@°ï¤èªk¯Ó®É®À§é,
«á¨Ó¨Ä¨Äªº¥Î ¿ù»~³B²zµ{¦¡ ³B²z¤~¶¶§Q,
ÁÂÁ¤À¨É«ü¥¿.

TOP

¦^´_ 15# GBKEE


    http://forum.twbts.com/redirect. ... 0&fromuid=21301

§Ú¦³§ï¥¿©ã   cc....

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2016-4-23 07:31 ½s¿è

¦^´_ 14# jackyq
©ú½Tªº«Å§iÅܼƫ¬ºA ,¥i¨Ïµ{¦¡½X¤£©ö¥X¿ù,¥B®e©ö°»¿ù
  1. Option Explicit
  2. Dim vD 'As Object
  3. Sub Ex()
  4.     '¦p Dim vD  »Ý¦³°õ¦æ Ex1«á¦A°õ¦æ Ex
  5.     '¦p¬O Dim  vD  As Object ´N¤£»Ý¥ý°õ¦æ Ex1
  6.     MsgBox vD Is Nothing  'Dim vD  µ{¦¡°õ¦æ¿ù»~¤F   
  7.     Set vD = Nothing
  8.     MsgBox vD Is Nothing
  9.     If vD Is Nothing Then
  10.         Set vD = CreateObject("Scripting.Dictionary")
  11.     End If
  12.     End   'µ²§ô©Ò¦³ªºµ{§Ç°õ¦æ
  13. End Sub
  14. Sub Ex1()
  15.     MsgBox IsObject(vD)
  16.     If Not IsObject(vD) Then
  17.         Set vD = CreateObject("Scripting.Dictionary")
  18.     End If
  19.     MsgBox vD Is Nothing
  20.     'End
  21. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 13# luhpro

¤j¤j»¡ªº "§Úµo²{ Excel ¤W¨Ã¤£¯à¥Î¤@­Ó Is Nothing ´N¥]¿ì©Ò¦³³oÃþª«¥ó¿ù»~ªº§PÂ_"

¦pªG§â Public vD  §ï¦¨ Public vD  as object

ÁÙ·|¥X²{  Is Nothing  µo¥Í°ÝÃD¶Ü

ÆZ¦n©_ªº

¦pªG¬O¥Î Public vD  
¤£¥Î On Err ¥i¥H¼g¦¨
if  isObject( vD )  then
    if   vD  is Nothing  then
    end if
end if

TOP

        ÀR«ä¦Û¦b : ¤Hªº²´·úªø¦b«e­±¡A¥u¬Ý¨ì§O¤Hªº¯ÊÂI¡Aµ·²@¬Ý¤£¨ì¦Û¤vªº¯ÊÂI¡C
ªð¦^¦Cªí ¤W¤@¥DÃD