获取系统变量错误,晕『附部分代码』
<p>如题,不明白了,高手指点一下</p><p>ps:肯定就是下边的sblip和scmde引起的,我调试过,去掉还可以运行。</p><p>。。。。。。。。。。。。。。。。。。。。。</p><p>Sub gardenpath()<br/> Dim sblip As Variant<br/> Dim scmde As Variant<br/> gpuser<br/> sblip = ThisDrawing.GetVariable("blipmode")<br/> scmde = ThisDrawing.GetVariable("cmdecho")<br/> ThisDrawing.SetVariable "blipmode", 0<br/> ThisDrawing.SetVariable "cmdecho", 0<br/> drawout<br/> drawtiles<br/> ThisDrawing.SetVariable "blipmode", sblip<br/> ThisDrawing.SetVariable "cmdecho", scmde<br/>End Sub<br/></p> <p>参考如下代码即可:</p><p>Application.ActiveDocument.GetVariable("DIMSCALE")</p>
页:
[1]