#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Printing footers

When running the macro, it almost appears that the footers appear to be
"Double Spaced". How can I control the distance bewteen the lines of the
footers?

Sub Workbook_BeforePrint(Cancel As Boolean)

shtGPA9D.PageSetup.RightFooter = "TEST" & vbCrLf & "Version" & vbCrLf &
"This information represents"

shtGPA9D.PageSetup.LeftFooter = "" & vbCrLf & "" & vbCrLf & "Illus-ABSSYS"

End Sub
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Printing footers

hi
try replacing vbCrLf with Chr(10) just to see what happens.

Regards
FSt1

"Brad" wrote:

When running the macro, it almost appears that the footers appear to be
"Double Spaced". How can I control the distance bewteen the lines of the
footers?

Sub Workbook_BeforePrint(Cancel As Boolean)

shtGPA9D.PageSetup.RightFooter = "TEST" & vbCrLf & "Version" & vbCrLf &
"This information represents"

shtGPA9D.PageSetup.LeftFooter = "" & vbCrLf & "" & vbCrLf & "Illus-ABSSYS"

End Sub

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Printing footers

hi
i was shooting from the hip on this. but i thought about it and did some tests
using xp2002 here
Chr(10) and Chr(13) do NOT double space
vbCrLf and vbNewline do seem to double space
don't know why. I have used vbNewLine in message boxes without double space
but in footers it does seem to do that.
Regards
FSt1

"FSt1" wrote:

hi
try replacing vbCrLf with Chr(10) just to see what happens.

Regards
FSt1

"Brad" wrote:

When running the macro, it almost appears that the footers appear to be
"Double Spaced". How can I control the distance bewteen the lines of the
footers?

Sub Workbook_BeforePrint(Cancel As Boolean)

shtGPA9D.PageSetup.RightFooter = "TEST" & vbCrLf & "Version" & vbCrLf &
"This information represents"

shtGPA9D.PageSetup.LeftFooter = "" & vbCrLf & "" & vbCrLf & "Illus-ABSSYS"

End Sub

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Printing footers

Thank youi!

"FSt1" wrote:

hi
try replacing vbCrLf with Chr(10) just to see what happens.

Regards
FSt1

"Brad" wrote:

When running the macro, it almost appears that the footers appear to be
"Double Spaced". How can I control the distance bewteen the lines of the
footers?

Sub Workbook_BeforePrint(Cancel As Boolean)

shtGPA9D.PageSetup.RightFooter = "TEST" & vbCrLf & "Version" & vbCrLf &
"This information represents"

shtGPA9D.PageSetup.LeftFooter = "" & vbCrLf & "" & vbCrLf & "Illus-ABSSYS"

End Sub

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Footers on Grouped Worksheets ExcelNovice Excel Discussion (Misc queries) 1 September 27th 07 02:47 PM
Printing Headers & Footers Julie Excel Discussion (Misc queries) 2 February 27th 07 08:20 PM
Printing Headers on only first page and Footers on only last page JacMar Excel Discussion (Misc queries) 5 January 21st 07 03:48 PM
Excel Headers and Footers Printing out Lion2004 Excel Discussion (Misc queries) 1 December 19th 06 10:39 AM
Footers Aurora Excel Worksheet Functions 0 February 11th 05 03:26 PM


All times are GMT +1. The time now is 01:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"