Question
Create Group CS3 - VB
I am trying to create a group of all items on a page to be able to resize everything to fit within a page.
The code to create the group is
Set mytempGroup = myInDesign.ActiveDocument.Groups.Add(myInDesign.ActiveWindow.Activepage.PageItems)
and it works on page 1. When I move to page 2 and rerun the script, it does not work. I get a message --
Error Number: 30477
Error String: Invalid Parameter.
Does anybody know what the problem is?
The code to create the group is
Set mytempGroup = myInDesign.ActiveDocument.Groups.Add(myInDesign.ActiveWindow.Activepage.PageItems)
and it works on page 1. When I move to page 2 and rerun the script, it does not work. I get a message --
Error Number: 30477
Error String: Invalid Parameter.
Does anybody know what the problem is?