S
Sol Apache
Hello
I have been trying to set a toggle macro so that if a particular section has
one text column then it changes to two columns; and if the section has two
text columns then it changes to one.
I am having trouble setting the If, else statement and every variation I
have tried VB rejects it. For example
If ActiveDocument.Sections(2).PageSetup.TextColumns.numColumns = 1 then
Can anyone help me with the syntax to get this working please. It could be
that the rest of the macro won¹t work either, but I¹d like to get beyond
this line for a start.
TIA
I have been trying to set a toggle macro so that if a particular section has
one text column then it changes to two columns; and if the section has two
text columns then it changes to one.
I am having trouble setting the If, else statement and every variation I
have tried VB rejects it. For example
If ActiveDocument.Sections(2).PageSetup.TextColumns.numColumns = 1 then
Can anyone help me with the syntax to get this working please. It could be
that the rest of the macro won¹t work either, but I¹d like to get beyond
this line for a start.
TIA