|  | 
| Page Numbers On Print outs | 
| Post Reply   | 
| Author | |
| JimK   Newbie   Joined: 27 September 2007 Status: Offline Points: 27 |  Post Options  Thanks(0)  Quote  Reply  Topic: Page Numbers On Print outs Posted: 31 October 2007 at 9:42am | 
| 
   Is it possible to set the alignment of the text shown by the PrintOptions.Footer.FormatString  property?
 At the moment is always shows on the left hand side of the header or footer - I would like it on the right. Better still would be the ability include page numbers in the .TextCenter or .TextRight properties e.g. PrintOptions.Footer.TextRight = "Page &p of &P" Even better again would be the ability to use all three .TextLeft, .TextCenter and .TextRight properties at the same time. e.g. PrintOptions.Header.TextLeft = Format(Now, "DD Mmm YYYY") PrintOptions.Header.Textcenter = "My Application" PrintOprions.header.TextRight = "Page &p of &P" | |
|  | |
| nighthawk   Senior Member     Joined: 11 June 2004 Status: Offline Points: 167 |  Post Options  Thanks(0)  Quote  Reply  Posted: 31 October 2007 at 6:22pm | 
| 
   Try: PrintOptions.Header.FormatString = Format(Now, "DD Mmm YYYY") & "&b" & "My Application" & "&b" & "Page &p of &P" | |
|  | |
| JimK   Newbie   Joined: 27 September 2007 Status: Offline Points: 27 |  Post Options  Thanks(0)  Quote  Reply  Posted: 01 November 2007 at 5:37am | 
| 
   Cool! many thanks for that....
    | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |