M
mikeFin
Hello!
I would like to set (through VBA) the Layer-Cells in the PageObject.
I am interested in setting the column Visible of a Layer I have to true or
false.
Of course I can make the Layers visible or invisible with "View->Layer
properties", but I have created a CommandBar and want for some reason to make
some layers visible/invisible from there.
If I wanted to make a ShapeData invisible, I would set it like this:
myShape.Cells("Prop.myShapeData1.Invisible").Formula = "=False"
How can I do this for a Layer (the 4th layer for example) of the PageObject ?
Perhaps something like this(?):
ActiveDocument.Pages(1).Cells("Layers.4.Visible").Formula= 0
Thanks for any help!
I would like to set (through VBA) the Layer-Cells in the PageObject.
I am interested in setting the column Visible of a Layer I have to true or
false.
Of course I can make the Layers visible or invisible with "View->Layer
properties", but I have created a CommandBar and want for some reason to make
some layers visible/invisible from there.
If I wanted to make a ShapeData invisible, I would set it like this:
myShape.Cells("Prop.myShapeData1.Invisible").Formula = "=False"
How can I do this for a Layer (the 4th layer for example) of the PageObject ?
Perhaps something like this(?):
ActiveDocument.Pages(1).Cells("Layers.4.Visible").Formula= 0
Thanks for any help!