Aug 14, 2005 #1 cluser Technical User Joined Jun 19, 2005 Messages 38 Location US I have a page footer, I only want its content shown on odd page, but not even page, how can I do that? Thanks a lot
I have a page footer, I only want its content shown on odd page, but not even page, how can I do that? Thanks a lot
Aug 14, 2005 #2 GingerR MIS Joined Apr 17, 2001 Messages 3,134 Location US In the footer's On Format event, put this: Code: Private Sub PageFooter_Format(Cancel As Integer, FormatCount As Integer) If Page Mod 2 = 0 Then Cancel = True End Sub it determines if the page is odd or even by using the built-in "PAGE" function and the "MOD" function. If you're not familiar with them, look 'em up ) Hope this helps. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at http://r937.com/relational.html Upvote 0 Downvote
In the footer's On Format event, put this: Code: Private Sub PageFooter_Format(Cancel As Integer, FormatCount As Integer) If Page Mod 2 = 0 Then Cancel = True End Sub it determines if the page is odd or even by using the built-in "PAGE" function and the "MOD" function. If you're not familiar with them, look 'em up ) Hope this helps. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at http://r937.com/relational.html
Aug 15, 2005 Thread starter #3 cluser Technical User Joined Jun 19, 2005 Messages 38 Location US Thank you very much Upvote 0 Downvote
Aug 15, 2005 Thread starter #4 cluser Technical User Joined Jun 19, 2005 Messages 38 Location US Thanks Upvote 0 Downvote