MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Jul 15th, 2003, 05:51 PM   #1
MikeL
 
Join Date: Mar 2002
Posts: 155
Default vba - spacing in custom header?

Hi,

I am trying to figure out spacing when writing VBA for a Custom Header. For instance, in the code below, how would I modify it so that "Schedule" is the first line of the header and "As Of" is the second line of the header?

-----------------------------------------------------------------
Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.LeftHeader = "Schedule As Of"
End Sub
-----------------------------------------------------------------

Thanks in advance,
MikeL
Using XL2000
MikeL is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +1. The time now is 03:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.