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

§Ú·Q±Nsheet1 ªº©Ò¦³¤½¦¡³Ì«á¤@­Ó¦r§ï¬°") ¥¨¶°¦p¦ó¼g?

§Ú·Q±Nsheet1 ªº©Ò¦³¤½¦¡³Ì«á¤@­Ó¦r§ï¬°") ¥¨¶°¦p¦ó¼g?

§Ú·Q±Nsheet1 ªº©Ò¦³¤½¦¡³Ì«á¤@­Ó¦r§ï¬°") ¥¨¶°¦p¦ó¼g?
³Ì«á¤@­Ó¦r¬°'
§Y '§ï¬°")

¥»©«³Ì«á¥Ñ t8899 ©ó 2013-7-31 20:58 ½s¿è

À³¸Ó»¡¬O­×§ïsheet1©Ò¦³¤½¦¡¸Ìªº¦r¦ê
¦¹¤½¦¡=XQKGIAP|Quote!'3416.TW-BestBidSize'
§ï¬° =RTD("XQRTD.RtdServerKGIAP",,"3416.TW-BestBidSize")
            
§Y
1  =XQKGIAP|Quote!' §ï¬° =RTD("XQRTD.RtdServerKGIAP",,"
2   ' §ï¬° ")

TOP

¥»©«³Ì«á¥Ñ luhpro ©ó 2013-7-31 23:42 ½s¿è

¦^´_ 2# t8899
  1. Sub nn()
  2.   Dim iI%
  3.   Dim sStr$
  4.   Dim rTar As Range
  5.   
  6.   With Sheets("Sheet1")
  7.     For Each rTar In .Cells.SpecialCells(xlCellTypeFormulas)
  8.       With rTar
  9.         sStr = .Formula
  10.         iI = InStr(1, sStr, "=XQKGIAP|Quote!'")
  11.         if iI > 0 then
  12.           sStr = "=RTD(" & Chr(34) & "XQRTD.RtdServerKGIAP" & Chr(34) & ",," & Chr(34) & "" & Mid(sStr, 17)
  13.           iI = InStr(1, sStr, "'")
  14.           If iI > 0 Then sStr = Left(sStr, iI - 1) & Chr(34) & ")"
  15.           .Formula = sStr
  16.         End If
  17.       End With
  18.     Next
  19.   End With
  20. End Sub
½Æ»s¥N½X
ans.zip (5.67 KB)

TOP

¦^´_  t8899
luhpro µoªí©ó 2013-7-31 23:36


¨Ï¥Î¨S°ÝÃD¡AÁÂÁ«ü¾É!

TOP

        ÀR«ä¦Û¦b : ¤Ó¶§¥ú¤j¡B¤÷¥À®¦¤j¡B§g¤l¶q¤j¡A¤p¤H®ð¤j¡C
ªð¦^¦Cªí ¤W¤@¥DÃD