Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Vj Vj is offline
external usenet poster
 
Posts: 54
Default Adding a line in footer

Is there any way I can customize my footer.

I have some text in left, center and right section of footer but the text is
too big. Is there any way I can insert a blank line vbNewLine in the footer.

Help would be appreciated and thanks in advance.

Regards,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Adding a line in footer

Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.LeftHeader = "some text" & vbNewLine & "some more"
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--

HTH

RP
(remove nothere from the email address if mailing direct)


"VJ" wrote in message
...
Is there any way I can customize my footer.

I have some text in left, center and right section of footer but the text

is
too big. Is there any way I can insert a blank line vbNewLine in the

footer.

Help would be appreciated and thanks in advance.

Regards,



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
Problem adding vertical marker line to line chart lbb Charts and Charting in Excel 6 January 9th 09 09:02 AM
Adding a Second and Third Line to an Existing Stacked Bar/Line Cha billbrandi Charts and Charting in Excel 3 September 12th 08 03:27 PM
Adding a line to the line/column chart? Steven Charts and Charting in Excel 2 February 12th 07 09:46 PM
Chart Type - Line Column adding a 2nd line [email protected] Charts and Charting in Excel 1 October 24th 06 04:17 PM
Please help with Adding a Footer or Header Al Excel Discussion (Misc queries) 3 August 14th 05 12:30 PM


All times are GMT +1. The time now is 07:33 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"