Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:编译提示“打开文档”错误

1楼
分析者 发表于:2016/8/29 9:20:40

 sub  baoh()

    Set Grid = Technic.GetGridByName("Main")

    Set History = Grid.GetHistoryData()

    call Grid.InsertFormula("公式1",-1)'

    Grid.ReInitDataFormula'重新刷新窗格内公式

    set Formula = grid.GetFormulaByName("公式1")

    ReDim ccc(history.count)

    for n1=1 to  history.count-1

      ccc(n1)= history.high(n1)

    next

    formula.VARDATA("bao") = ccc '将处理完毕的数组序列返回公式中

   

 end sub

   编译会提示错误:“编译器错误 61704 打开文档”,光标停留在上述黄色处。

请问如何处理? 

2楼
分析者 发表于:2016/8/30 10:09:57
能解释一下吗?
共2 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.03125 s, 2 queries.