Split viewport on VBA

Hi guys, I have a VBA code and I need to split the current viewport in two, I use the code:

ThisDrawing.ActiveViewport.Split acViewport2Vertical

Apparently the code is ok, I even get the autocomplete after "split", but I get an error message "Object doesn't support this action".

Can anyone help me on how to solve that?

Thanks!

Comments

This discussion has been closed.