hdslj 发表于 2009-10-9 11:10:00

objplotconfiguration.ConfigName = objlayout.ConfigName出现错误,请指教!

本帖最后由 作者 于 2009-10-9 11:37:05 编辑 <br /><br /> <p>Public Sub sf()<br/>Dim objlayout As AcadLayout<br/>Dim objplotconfiguration As AcadPlotConfiguration<br/>Set objlayout = ThisDrawing.ActiveLayout</p><p><font color="#ff0000">objplotconfiguration.ConfigName = objlayout.ConfigName</font></p><p>End Sub<br/>&nbsp;&nbsp; </p><p>运行时红色那句出现错误 “运行时错误91 对象错误或者with块变量未设置”</p><p>何解?</p><p></p><p>已解决,请版主删帖!</p>
页: [1]
查看完整版本: objplotconfiguration.ConfigName = objlayout.ConfigName出现错误,请指教!