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

[¤À¨É] Ãö©óDDE°ÊºA³sµ²°ÝÃD

¨F¤j§A¦n!
      §Ú¥ÎEXCEL2010¦bÀx¦s®æ¤º¿é¤J =excel|Book1.xls!x
°¨¤W¥X²{·í¾÷(¨S¦³¦^À³)¡A½Ð°ÝEXCEL­þ ...
wells330 µoªí©ó 2011-4-29 22:10


¨S§A¨ººØ¹q¸£Àô¹Ò¥i¥H´ú¸Õ¡I
½Ð¦Û¤v¬Ý¬Ý Excel »¡©ú
©Î½Ð Win7+Office 2010 ªº¤HÀ°§A¬Ý¬Ý¡I
©³¤U¬Oºô¸ô¤W§ä¨ìÃþ¦üªº°ÝÃD
°Ñ¦Òºô¸ô¤Wªº³sµ² << ­^¤å
°Ñ¦Òºô¸ô¤Wªº³sµ² << ¤¤¤å
¤@§Z¤T¥|¡BÅå¨ìåF¥N»x

TOP

¨F¤j§A¦n!
      §Ú¥ÎEXCEL2010¦bÀx¦s®æ¤º¿é¤J =excel|Book1.xls!x
°¨¤W¥X²{·í¾÷(¨S¦³¦^À³)¡A½Ð°ÝEXCEL­þ¸Ì³]©w¥X°ÝÃD?

    ÁÂÁÂ!
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¤W­±ªºbbb.xls,§ïÅÜ»ù¦ì

¦b±µ¦¬ºÝªºexcel­n¦p¦ó¤@µ§¤@µ§ªº¦V¤U±µ¸ê®Æ

·Ð³Â¦U¦ì¤j¤j,¤À¨É¤@¤U²³æªº ¼gªk

·PÁÂ^^
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

½Ð±Ðª©¥D¡G

clientºÝ»PserverºÝªºÀɮ׸ô®|­Y¤£¦P

¨º"=excel|Book1.xls!x"À³¦p¦ó­×¥¿¡H
fpoqua µoªí©ó 2011-1-31 12:16


°Ñ¦Ò¡Ghttp://support.microsoft.com/kb/128491
¤@§Z¤T¥|¡BÅå¨ìåF¥N»x

TOP

½Ð±Ðª©¥D¡G

clientºÝ»PserverºÝªºÀɮ׸ô®|­Y¤£¦P

¨º"=excel|Book1.xls!x"À³¦p¦ó­×¥¿¡H

TOP

¦bºô¸ô¤W¬Ý¨ìªÑ²¼ªºÀɮסA¬Ý¤£¨ì§O¤H¬O¦p¦ó¼g¥X¨Óªº¡A§Ú­Ó¤H¤]¨S¦³ª±ªÑ²¼¡A¦ý·|ª`·N¤@¤U¡C
§Ú¤]·Q¾Ç¦ý¬O¦Û¤vªº¥\¤OÁÙ¨S¦³¨ì¨º£z¡A¤]¦b¾Ç²ß·í¤¤¤]§Æ±æ¦U¦ìªO¥D±Ð¾É
danny

TOP

¥»©«³Ì«á¥Ñ humanbondage ©ó 2010-11-11 23:16 ½s¿è

ÁÂÁ¦U¦ìªº¤À¨É,¤p§Ì¤]¬O·Q¾Ç²ßvba®»¨ú´Á³fªº¦¨¥æ¸ê®Æ¨C¤@¤ÀÄÁ¸ê®Æ°µ¦¨k½u¼Æ¾Úªº¶}°ª¦¬§C,¦ý­è¶}©lºN¯Á¦Ó¤w

¬Ý¤F«Ü¦h¬ÛÃöªº°Q½×¤å³¹,§¹¥þÁÙ¦b°gÃú´ËªL¤¤¨S¨«¥X¥b¨B,§Æ±æ¦³ÂIÀY§Ç®É¦A¦Vª©¤W°ª¤â½Ð±Ð

TOP

ÁÂÁ¨F¤j«ü¾É
§Úªº´ú¸Õ¿ù»~¬O¦]¬°
§Ú§âX©w¸q¦¨°ÊºA¦ì¸m
=OFFSET($A$1,COUNTA(A:A),)
©Ò¥H·íAÄæ¿é¤J¸ê®Æ¨ÃµLªk§ó·s¨ì¥Ø¼Ð°Ï
¹³¨F¤jªº©T©w¦ì¸m´N¥i¦æ¤F
¦hÁ¨F¤j«ü¾É
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ ¨F©Ôªo ©ó 2010-5-18 23:26 ½s¿è

°Ñ¦Ò§Ú¦b Excel ´ú¸Õ DDEªº§@ªk
¤@§Z¤T¥|¡BÅå¨ìåF¥N»x

TOP

HsiehªO¤j§A¦n
¥H«e§Ú¦b¾Ç®Õ®É©Ò±Ðªº ¤@¶}©l¥²¥ý­n¶}±ÒDDEªºªÑ²¼³nÅé
§Ú¥H¤é²±¬°¨Ò ©Ò¥H­n¥ý¶}±Ò¥L¸Ì­±ªº¤@­Ó Excel DDE ¤§«á¦A¶}±Ò EXCEL ¤~¯à±Ò°Ê

µM«á§Ú­Ì·|¦bEXCEL ¤@¶}±Ò®É check ¬O§_³s½u¦¨¥\

¤§«á¦A¼g¤J¤U­±µ{¦¡

Sub ¸ü¤J¤é²±DDE()
  With ThisWorkbook.Worksheets("¥~³¡¸ê®Æ")
    .Cells.Clear
    '¼g¤J®É¶¡
    .Range("B1").Formula = "=DDEEXCEL|FUTURETXF" & NearMonth & NearYear & "!®É¶¡"
  end  with

¦Ü©óDDEEXCEL|FUTURETXF" & NearMonth & NearYear & "!®É¶¡ ¬O¬Ý­ÓDDE³nÅé©w¸qªº
¥H¤é²±¬°¨Ò ·í¶}±ÒEXCEL DDE §â¥L©ì¦²¨ì EXCEL¤W®É ´N·|¥X²{¤W­±  ¤§«á¸Ì­±ªº¦~¤ë¦A³]ÅܼÆ

¦p¦¹ ¦Ü©ó­nÂ^¨ú¥LÅܰʪº¸ê®Æ «h¬O¨Ï¥ÎDDE¶Ç°e¸ê®Æ¨ìEXCEL IJµoªºcalculate ¨Æ¥ó¯S©Ê
¥h§PÂ_·s¶Ç¨Óªº­È»Pªº­È¬O§_¦³¬Û¦P ¦pªG¤£¬Û¦P´N°O¿ý

Dim NewVolume As Long
  Dim nRow As Long
  With ThisWorkbook.Worksheets("¥x«ü´ÁDDE")
    If IsNumeric(.Range("A1")) = True Then
      NewVolume = .Range("A1")
      If NewVolume <> TXoldVolume Then
        '±N§Y®É»ù®t¤Î¥x«ü´Á§Y®É¦¨¥æ»ù³v¦æ¼g¤J¦UÄæ
        With ThisWorkbook.Worksheets("ø¹Ï¸ê®Æ")
          nRow = .Range("B65536").End(xlUp).Row
          If nRow = 1 And .Range("B1") = "" Then
            .Cells(1, 1) = Time
            .Cells(1, 2) = ThisWorkbook.Worksheets("¥~³¡¸ê®Æ").Range("C3") '¥x«ü´Á»ù®æ
            With ThisWorkbook.Worksheets("¥~³¡¸ê®Æ")
              If IsNumeric(.Range("C3")) And IsNumeric(.Range("C11")) And _
                 IsNumeric(.Range("C19")) Then
                ThisWorkbook.Worksheets("ø¹Ï¸ê®Æ").Cells(1, 5) = _
                      CalSpread(.Range("C11"), .Range("C19"), .Range("C3")) '¥Ø«e»ù®t
              End If
            End With
GinBow

TOP

        ÀR«ä¦Û¦b : ­ì½Ì§O¤H´N¬Oµ½«Ý¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD