Hi guys,

my selfconfidence sunk below zero, 'cause I'm not able to activate a different layout in VBA.

The help file points to the code "ActiveLayout" but I can't make it work.

I use the code
[VBA]ThisDrawing.ActiveLayout = "LayoutA4"[/VBA]
But get an Compile error, Type mismatch
And yes... there is a layout called LayoutA4

Please, can someone help me out?

Thx in advance,

Sandieslover