PC Review


Reply
Thread Tools Rate Thread

changing default in page setup

 
 
bwong
Guest
Posts: n/a
 
      1st Dec 2008
I would like to make a change so it becomes default.



It is in Print Preview - Setup - Header/Footer tab. I want to make the font
size 8 as default, I think the current default is 10.



Is this possible?


 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      2nd Dec 2008
Not possible AFAIK without changing default Font at Tools>Options>General
which is a global setting for all new Excel workbooks.

You probably wouldn't like the 8 pt font for column and row headers as well
as default font size in cells.

I suggest a quick macro saved in your Personal.xls

Sub Set_Footer_Font()
With ActiveSheet.PageSetup
.LeftFooter = "&""Arial,Regular""&8"
End With
End Sub

That will set the font size to 8 pt for whatever you enter as a left footer.

Which could also be set in the above macro.


Gord Dibben MS Excel MVP


On Mon, 01 Dec 2008 23:31:11 GMT, "bwong" <(E-Mail Removed)> wrote:

>I would like to make a change so it becomes default.
>
>
>
>It is in Print Preview - Setup - Header/Footer tab. I want to make the font
>size 8 as default, I think the current default is 10.
>
>
>
>Is this possible?
>


 
Reply With Quote
 
bwong
Guest
Posts: n/a
 
      28th Apr 2010
Thanks Gord.

Can you please lead me with baby steps to create the macro then save it?

I also like to make the footer a default for all new sheets/books. How can I
do this too? The footer to display the saved file name in 8pts.

Cheers
Ben

"Gord Dibben" <gorddibbATshawDOTca> wrote in message
news:(E-Mail Removed)...
> Not possible AFAIK without changing default Font at Tools>Options>General
> which is a global setting for all new Excel workbooks.
>
> You probably wouldn't like the 8 pt font for column and row headers as
> well
> as default font size in cells.
>
> I suggest a quick macro saved in your Personal.xls
>
> Sub Set_Footer_Font()
> With ActiveSheet.PageSetup
> .LeftFooter = "&""Arial,Regular""&8"
> End With
> End Sub
>
> That will set the font size to 8 pt for whatever you enter as a left
> footer.
>
> Which could also be set in the above macro.
>
>
> Gord Dibben MS Excel MVP
>
>
> On Mon, 01 Dec 2008 23:31:11 GMT, "bwong" <(E-Mail Removed)> wrote:
>
>>I would like to make a change so it becomes default.
>>
>>
>>
>>It is in Print Preview - Setup - Header/Footer tab. I want to make the
>>font
>>size 8 as default, I think the current default is 10.
>>
>>
>>
>>Is this possible?
>>

>



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      28th Apr 2010
First things first..............add the macro to your Personal.xls

Do you have a Personal.xls?

When you start Excel do you get a hidden workbook named Personal.xls?

Look for it under Window>Unhide.

If not there you must create it.

Turn on Macro Recorder and store the recorded macro in "Personal Macro
Workbook"..............picked from the "Store macro in:" dropdown.

Record yourself copying and pasting a cell.

Turn off macro recorder.

Window>Unhide>Personal.xls

Go to Tools>Macro>Macros and you will see a list of macros............in
this case, only Macro1.

Select it and "Edit" to go to the macro you just recorded.

In that open module, paste the revised code I posted in this reply.

Alt + q to return to Excel.

Select Personal.xls from Window Menu...........hide it.

Close Excel and you will be asked if you want to save
Personal.xls,,,,,,,,,,,,Yes, you do.

You now have a Personal.xls which will open when Excel does.

You can run the macro on any open workbook.

When you get this far and have the macro running properly. post back.

To change the default workbook and worksheet settings involves much more and
would require that all new workbooks and sheets would have code.

I would not do that................just run the macro on new workbooks.

To have filename in the Footer change the macro to this one.

Sub Set_Footer_Font()
With ActiveSheet.PageSetup
.LeftFooter = "&""Arial,Regular""&8&F"
End With
End Sub


Gord

On Wed, 28 Apr 2010 02:15:06 GMT, "bwong" <(E-Mail Removed)> wrote:

>Thanks Gord.
>
>Can you please lead me with baby steps to create the macro then save it?
>
>I also like to make the footer a default for all new sheets/books. How can I
>do this too? The footer to display the saved file name in 8pts.
>
>Cheers
>Ben
>
>"Gord Dibben" <gorddibbATshawDOTca> wrote in message
>news:(E-Mail Removed)...
>> Not possible AFAIK without changing default Font at Tools>Options>General
>> which is a global setting for all new Excel workbooks.
>>
>> You probably wouldn't like the 8 pt font for column and row headers as
>> well
>> as default font size in cells.
>>
>> I suggest a quick macro saved in your Personal.xls
>>
>> Sub Set_Footer_Font()
>> With ActiveSheet.PageSetup
>> .LeftFooter = "&""Arial,Regular""&8"
>> End With
>> End Sub
>>
>> That will set the font size to 8 pt for whatever you enter as a left
>> footer.
>>
>> Which could also be set in the above macro.
>>
>>
>> Gord Dibben MS Excel MVP
>>
>>
>> On Mon, 01 Dec 2008 23:31:11 GMT, "bwong" <(E-Mail Removed)> wrote:
>>
>>>I would like to make a change so it becomes default.
>>>
>>>
>>>
>>>It is in Print Preview - Setup - Header/Footer tab. I want to make the
>>>font
>>>size 8 as default, I think the current default is 10.
>>>
>>>
>>>
>>>Is this possible?
>>>

>>

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing default Page Setup =?Utf-8?B?Q3VyaW91cyBCZW4=?= Microsoft Excel Misc 0 14th Nov 2007 12:27 AM
changing default settings for "Page Setup" Microsoft Word? =?Utf-8?B?RWxlbmEgTCBN?= Windows XP General 2 19th Nov 2006 07:55 AM
Page setup changing =?Utf-8?B?TWF0dCBHcmVhdG9yZXg=?= Microsoft Access Reports 0 13th Apr 2006 03:16 PM
Changing ODBC Setup of Default Server Name =?Utf-8?B?SmFuaWNl?= Microsoft Access Form Coding 1 20th Oct 2005 07:25 PM
Page Setup Orientation is changing on me Seth Schwarm Microsoft Access Reports 3 27th Feb 2004 08:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:46 AM.