Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Default Number Format for all WEorksheets

I use the Format Cells, Custom option to set a number format = #,##0;(#,##0),
in order to format numbers in a spreadsheet.

The Bracketed option for negative numbers is not a preset option available
within Excel.

How can I set this format as a default option for all worksheets/files opened
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Default Number Format for all WEorksheets

Hi Bill,

Excel has a built in format #,##0_);(#,##0) which does the same thing as
yours except that it forces positive numbers to align properly to the right
side of the cell relative to negative numbers. In Excel this is the 6th
format under Custom.
--
Cheers,
Shane Devenshire


"BillFitz" wrote:

I use the Format Cells, Custom option to set a number format = #,##0;(#,##0),
in order to format numbers in a spreadsheet.

The Bracketed option for negative numbers is not a preset option available
within Excel.

How can I set this format as a default option for all worksheets/files opened

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Default Number Format for all WEorksheets

Bill

If negative brackets(parens) are not available in the NumberNegative Numbers
dialog.

This is a function of your Regional Settings in Windows OS.

StartSettingsControl PanelRegional and Language SettingsRegional
OptionsCustomizeCurrencyNegative Currency Format. Click on drop-down arrow
and select the ($1.1)

Note: this is under the "Currency" tab in Regional Options. Changing under
the "Numbers" tab only does not do the trick.

Apply and OKApply your way out.


Gord Dibben Excel MVP

On Sat, 5 Jan 2008 08:12:02 -0800, BillFitz
wrote:

I use the Format Cells, Custom option to set a number format = #,##0;(#,##0),
in order to format numbers in a spreadsheet.

The Bracketed option for negative numbers is not a preset option available
within Excel.

How can I set this format as a default option for all worksheets/files opened


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Default Number Format for all WEorksheets

Thanks for your response

I tried this, but it does not appear to set this format as a default.

I used the (1.1)option under Number & Currency and used the Apply option.
I also restarted Windows, but still when I input -123, it shows as -123

Anything further required ?

Bill Fitzgerald


"Gord Dibben" wrote:

Bill

If negative brackets(parens) are not available in the NumberNegative Numbers
dialog.

This is a function of your Regional Settings in Windows OS.

StartSettingsControl PanelRegional and Language SettingsRegional
OptionsCustomizeCurrencyNegative Currency Format. Click on drop-down arrow
and select the ($1.1)

Note: this is under the "Currency" tab in Regional Options. Changing under
the "Numbers" tab only does not do the trick.

Apply and OKApply your way out.


Gord Dibben Excel MVP

On Sat, 5 Jan 2008 08:12:02 -0800, BillFitz
wrote:

I use the Format Cells, Custom option to set a number format = #,##0;(#,##0),
in order to format numbers in a spreadsheet.

The Bracketed option for negative numbers is not a preset option available
within Excel.

How can I set this format as a default option for all worksheets/files opened



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Default Number Format for all WEorksheets

Sorry, I thought you had no negative parens option so addressed the wrong
problem.

To address the "default" number format, you would have to use a template as your
default workbook/worksheet.

Open a new workbook. Customize cells as you wish with your number format.

FileSave As Type: scroll down to Excel Template(*.XLT) and select. Name your
workbook "BOOK"(no quotes). Excel will add the .XLT to save as BOOK.XLT.

Store this workbook in the XLSTART folder usually located at........

C:\Documents and Settings\username\Application Data\Microsoft\Excel\XLSTART

This will be the default workbook for FileNew or the Toolbar button FileNew or
CTRL + n

WARNING................Do not use FileNew...Blank Workbook or you will get the
Excel default workbook.

NOTE: Existing workbooks are not affected by these settings.

You can also open a new workbook and delete all but one sheet. Customize as
you wish then save this as SHEET.XLT in XLSTART folder also. It now becomes
the default InsertSheet.

More can be found on this in Help under "templates"(no quotes).


Gord

On Sat, 5 Jan 2008 16:33:00 -0800, BillFitz
wrote:

Thanks for your response

I tried this, but it does not appear to set this format as a default.

I used the (1.1)option under Number & Currency and used the Apply option.
I also restarted Windows, but still when I input -123, it shows as -123

Anything further required ?

Bill Fitzgerald


"Gord Dibben" wrote:

Bill

If negative brackets(parens) are not available in the NumberNegative Numbers
dialog.

This is a function of your Regional Settings in Windows OS.

StartSettingsControl PanelRegional and Language SettingsRegional
OptionsCustomizeCurrencyNegative Currency Format. Click on drop-down arrow
and select the ($1.1)

Note: this is under the "Currency" tab in Regional Options. Changing under
the "Numbers" tab only does not do the trick.

Apply and OKApply your way out.


Gord Dibben Excel MVP

On Sat, 5 Jan 2008 08:12:02 -0800, BillFitz
wrote:

I use the Format Cells, Custom option to set a number format = #,##0;(#,##0),
in order to format numbers in a spreadsheet.

The Bracketed option for negative numbers is not a preset option available
within Excel.

How can I set this format as a default option for all worksheets/files opened






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Default Number Format for all WEorksheets

Hi,

I guess I'm not sure what you mean by setting the default number format?
The current default number format is General, in which case Excel excepts
positive numbers in 12345676 format and negative numbers in -12345 format.
I'm not sure how creating a default workbook solves this problem. If I
understand the question you want to type in -1234 and have Excel display it
as (1,234.45) and positive numbers as 1,234.45.

You could write VBA to do this if you don't want to pick the 6th format
option under Custom.

You could add the following code to a default workbook, or just the
workbooks you want to handle this way, or create and add-in. In a workbook
you could add general code such as:

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
If IsNumeric(Target) Then
Target.NumberFormat = "#,##0;(#,##0)"
End If
End Sub

or to manually run it:

Sub MyFormat()
Selection.NumberFormat = "#,##0;(#,##0)"
End Sub

and asign a shortcut key such as Ctrl+e.


--
Cheers,
Shane Devenshire


"Gord Dibben" wrote:

Sorry, I thought you had no negative parens option so addressed the wrong
problem.

To address the "default" number format, you would have to use a template as your
default workbook/worksheet.

Open a new workbook. Customize cells as you wish with your number format.

FileSave As Type: scroll down to Excel Template(*.XLT) and select. Name your
workbook "BOOK"(no quotes). Excel will add the .XLT to save as BOOK.XLT.

Store this workbook in the XLSTART folder usually located at........

C:\Documents and Settings\username\Application Data\Microsoft\Excel\XLSTART

This will be the default workbook for FileNew or the Toolbar button FileNew or
CTRL + n

WARNING................Do not use FileNew...Blank Workbook or you will get the
Excel default workbook.

NOTE: Existing workbooks are not affected by these settings.

You can also open a new workbook and delete all but one sheet. Customize as
you wish then save this as SHEET.XLT in XLSTART folder also. It now becomes
the default InsertSheet.

More can be found on this in Help under "templates"(no quotes).


Gord

On Sat, 5 Jan 2008 16:33:00 -0800, BillFitz
wrote:

Thanks for your response

I tried this, but it does not appear to set this format as a default.

I used the (1.1)option under Number & Currency and used the Apply option.
I also restarted Windows, but still when I input -123, it shows as -123

Anything further required ?

Bill Fitzgerald


"Gord Dibben" wrote:

Bill

If negative brackets(parens) are not available in the NumberNegative Numbers
dialog.

This is a function of your Regional Settings in Windows OS.

StartSettingsControl PanelRegional and Language SettingsRegional
OptionsCustomizeCurrencyNegative Currency Format. Click on drop-down arrow
and select the ($1.1)

Note: this is under the "Currency" tab in Regional Options. Changing under
the "Numbers" tab only does not do the trick.

Apply and OKApply your way out.


Gord Dibben Excel MVP

On Sat, 5 Jan 2008 08:12:02 -0800, BillFitz
wrote:

I use the Format Cells, Custom option to set a number format = #,##0;(#,##0),
in order to format numbers in a spreadsheet.

The Bracketed option for negative numbers is not a preset option available
within Excel.

How can I set this format as a default option for all worksheets/files opened




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Default Number Format for all Worksheets


Thank you for your help


Bill Fitzgerald

"Gord Dibben" wrote:

Sorry, I thought you had no negative parens option so addressed the wrong
problem.

To address the "default" number format, you would have to use a template as your
default workbook/worksheet.

Open a new workbook. Customize cells as you wish with your number format.

FileSave As Type: scroll down to Excel Template(*.XLT) and select. Name your
workbook "BOOK"(no quotes). Excel will add the .XLT to save as BOOK.XLT.

Store this workbook in the XLSTART folder usually located at........

C:\Documents and Settings\username\Application Data\Microsoft\Excel\XLSTART

This will be the default workbook for FileNew or the Toolbar button FileNew or
CTRL + n

WARNING................Do not use FileNew...Blank Workbook or you will get the
Excel default workbook.

NOTE: Existing workbooks are not affected by these settings.

You can also open a new workbook and delete all but one sheet. Customize as
you wish then save this as SHEET.XLT in XLSTART folder also. It now becomes
the default InsertSheet.

More can be found on this in Help under "templates"(no quotes).


Gord

On Sat, 5 Jan 2008 16:33:00 -0800, BillFitz
wrote:

Thanks for your response

I tried this, but it does not appear to set this format as a default.

I used the (1.1)option under Number & Currency and used the Apply option.
I also restarted Windows, but still when I input -123, it shows as -123

Anything further required ?

Bill Fitzgerald


"Gord Dibben" wrote:

Bill

If negative brackets(parens) are not available in the NumberNegative Numbers
dialog.

This is a function of your Regional Settings in Windows OS.

StartSettingsControl PanelRegional and Language SettingsRegional
OptionsCustomizeCurrencyNegative Currency Format. Click on drop-down arrow
and select the ($1.1)

Note: this is under the "Currency" tab in Regional Options. Changing under
the "Numbers" tab only does not do the trick.

Apply and OKApply your way out.


Gord Dibben Excel MVP

On Sat, 5 Jan 2008 08:12:02 -0800, BillFitz
wrote:

I use the Format Cells, Custom option to set a number format = #,##0;(#,##0),
in order to format numbers in a spreadsheet.

The Bracketed option for negative numbers is not a preset option available
within Excel.

How can I set this format as a default option for all worksheets/files opened




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
Default number format DDC Excel Discussion (Misc queries) 0 July 15th 07 11:50 PM
Default number format ML Excel Discussion (Misc queries) 1 March 28th 07 04:23 AM
How to set default number format for new workbook PC The Greatest Excel Discussion (Misc queries) 2 August 31st 06 06:18 PM
How do I change the default number format ? LarryH Excel Discussion (Misc queries) 1 September 20th 05 02:47 PM
default number format cmannaccountant Excel Discussion (Misc queries) 1 June 16th 05 09:36 PM


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