Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Code for printing footers

I want to generate a consisten footer in the centre and right. I have the
code to do this but.... when I try to get the font to 9 point I stumble. I
have copied the code from an Excel dedicated site.
My code is

"Some""Arial""&9"

I'm not sure if I'm supposed to declare something else or if I have copied a
typo.

Can anyone help?

TIA

regards

Jeff Smith


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Code for printing footers

Put the &9 in front of the footer text

EG if you wanted the text "Some" to be in size nine then
it would be "&9Some"

Libby
-----Original Message-----
I want to generate a consisten footer in the centre and

right. I have the
code to do this but.... when I try to get the font to 9

point I stumble. I
have copied the code from an Excel dedicated site.
My code is

"Some""Arial""&9"

I'm not sure if I'm supposed to declare something else or

if I have copied a
typo.

Can anyone help?

TIA

regards

Jeff Smith


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 473
Default Code for printing footers

Jeff Smith wrote:
My code is

"Some""Arial""&9"


To get xyz in Arial 9 point

ActiveSheet.PageSetup.LeftHeader = "&""Arial""&9xyz"

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Code for printing footers

Thank you very much. All working well now. Appreciated.

regards

Jeff Smith

"Bill Manville" wrote in message
...
Jeff Smith wrote:
My code is

"Some""Arial""&9"


To get xyz in Arial 9 point

ActiveSheet.PageSetup.LeftHeader = "&""Arial""&9xyz"

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup



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
Footers/Headers Not Printing Connie New Users to Excel 2 September 17th 09 05:50 PM
Does anyone know if I can suppress footers when printing? BPC123 Excel Discussion (Misc queries) 2 September 23rd 08 05:15 PM
Printing footers Brad Excel Discussion (Misc queries) 3 March 7th 08 02:16 PM
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


All times are GMT +1. The time now is 05:35 AM.

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

About Us

"It's about Microsoft Excel"