Exchange Forum > ActiveX and VBA
Turn the SDI mode on
Turn the SDI mode on

#1

Turion
Join Date:
08-03-2007
How can I turn the SDI mode on before I run my VBA routine?
Turn the SDI mode on

#2

V Chan
Join Date:
07-30-2007
You can only have one drawing open before turning the SDI mode on.
To turn the SDI mode on:
Code:
Sub SDI_on()
  ThisDrawing.SetVariable "SDI", 1
End Sub
To turn the SDI mode off:
Code:
Sub SDI_off()
  ThisDrawing.SetVariable "SDI", 0
End Sub