Conditional Page Breaks - Again

  • Thread starter George Heimovics
  • Start date
G

George Heimovics

Reviewing Lydia's post on 7/2/2008 I have a similar situation, but I would
like each section to start on an even page. For Book Printing, this would
be the left side. I have tried to use the same technique, but it is not
working.

Private mbWasOddPage As Boolean
Private Sub GroupHeader2_Format(Cancel As Integer, FormatCount As Integer)
mbWasOddPage = Not (Me.Page Mod -2)
End Sub
Private Sub GroupHeader0_Print(Cancel As Integer, PrintCount As Integer)
Me.Section("GroupHeader2").Visible = mbWasOddPage
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top