So we sell Universal Lasers, and we have to spend about an hour over the phone trying to explain to customers how to set up Corel if they won't let us remote in using some other software.
I have the page size correct
I have the color management settings correct
How does one affect the rulers? We need to set the origin of the rulers to be 0 0 in top left, 0 0 is usually the bottom left. I tried activedocument.rulers and that just sets the units, i.e. cm inches feet yards.
I know this is probably really easy but I overlook things a lot!
I don't do C#; I assumed the following would be the VBA equivalent. It does something (i.e., changes the rulers) but doesn't put 0,0 at the U/L corner of the plate.
Sub RulersUL() ActiveDocument.DrawingOriginX = ActivePage.LeftX ActiveDocument.DrawingOriginY = ActivePage.TopYEnd Sub
I'm the proud owner of the protected macro Jeff suggests earlier(it works perfectly), but I'd sure like to know how to do it in VBA.
DrawingOriginX and DrawingOriginY work relative to the center of the page.
Sub RulersUL() ActiveDocument.DrawingOriginX = -1 * (ActivePage.SizeWidth / 2) ActiveDocument.DrawingOriginY = ActivePage.SizeHeight / 2 End Sub
Thanks kindly! Works perfectly!
You're welcome, Roy.
Been there; done that!