Print grid layer is turned on and CAN'T turn off

Hi, i have a problem and it's driving me nuts. I have some corel files with print grid layer button turned on and it's impossible to turn it off.

 

This have a secondary effect and it's corel hangs up when i try to print the file, start to make the "previous checkings" and never ends.

 

I'm desesperate, any of you can you help me please?

 

Thanks

 

Capture of the problematic files:

 

 

Capture of a normal corel file:

 

:

 

 

 

 

 

 

Parents
No Data
Reply
  • A normal user can make the grid layer visible/invisible. However Printable or editable attributes can be changed with VBA only. It seems that you have run a macro which has changed the attributes. Try this code. I have not tried it on my DRAW but this should work.

    Private Sub GridNoPrint()

    Dim doc As Document
    Dim lyr As Layer

    Set doc = CorelDRAW.ActiveDocument

    For Each lyr In doc.MasterPage.Layers
    If lyr.Name = "Grid" Then
    lyr.Printable = False
    End If
    Next

    End Sub

Children