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

[µo°Ý] ¨Ï¥Îworksheetfunction.index¨ú¥X¤@ºû°}¦C«o¥X²{«¬ºA¤£²Å©O¡H

[µo°Ý] ¨Ï¥Îworksheetfunction.index¨ú¥X¤@ºû°}¦C«o¥X²{«¬ºA¤£²Å©O¡H

¦U¦ì¤j¤j¦n¡G

¤p§Ì¦³¤@¤Gºû°}¦C¸ê®Æ¡C
¨Ã·Q¨Ï¥Îworksheetfunction.index
¨ú¥X¤@ºû°}¦C¸ê®Æ¡C
«o¥X²{°õ¦æ¶¥¬q¿ù»~¡A«¬ºA¤£²Å¦X¡C
¦³½Ð¦U¦ì¤j¤j¬Û§U¤p§Ì¡C
ÁÂÁ¦U¦ì¤j¤j¡C
»yªk¦p¤U¡G
Public Sub regCls(mData As Variant)
    Dim regData
    Dim a As Variant        
    s1 = UBound(mData, 1)
    s2 = UBound(mData, 2)
    a = WorksheetFunction.Index(mData, 3)
End Sub
¤º®e¦pªþ¹Ï

¦^´_ 1# dechiuan999
µ{¦¡½X¤W¬Ý¤£¥X°ÝÃD,ªþÀɬݬÝ
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 2# GBKEE


    ªO¥D¤j¤j±z¦n¡G
mDatat.rar (32.91 KB)
   ÁÂÁªO¥D¤j¤jªº¬Û§U¡C
¤p§Ì¬O¥Ñmysql¸ê®Æ®w¨ú¥X
¸ê®Æ¦Ó¥B¥Ñªí³æpage5°õ¦æ
¸g¥Ñ
Public Function reCordSet_Open()
¤ºªºmData = objRecordSet.GetRows  
¨ú¥X°}¦C¸ê®Æ¦AÂà¤J¨ì
Public Sub regCls(mData As Variant, objTxt4 As String)
    Dim regData
    Dim a As Variant
    Dim b As Variant
    s1 = UBound(mData, 1)
    s2 = UBound(mData, 2)   
    a = Application.WorksheetFunction.Transpose(mData)
    b = Application.WorksheetFunction.Index(mData, 3)   
End Sub
¦]·Q§Q¥ÎREGEXP¦r¦ê¬d¸ß¥\¯à
¨Ó§ä¥X¸ê®Æ¡C´N¬O·Q¥ÑINDEX¨ú
¥X¤@ºû°}¦C¸ê®Æ§Y¥i­É¥Î
VBScript_RegExp_55.RegExp
¨Ó

TOP

        ÀR«ä¦Û¦b : ¡i®É¤é²öªÅ¹L¡j¤@­Ó¤H¦b¥@¶¡°µ¤F¦h¤Ö¨Æ¡A´Nµ¥©ó¹Ø©R¦³¦hªø¡C¦]¦¹¥²¶·»P®É¶¡Ävª§¡A¤Á²ö¨Ï®É¤éªÅ¹L¡C
ªð¦^¦Cªí ¤W¤@¥DÃD