ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Save a custom format for future use (https://www.excelbanter.com/excel-discussion-misc-queries/213968-save-custom-format-future-use.html)

K Cook

Save a custom format for future use
 
I frequently use the same custom number format in spreadhseets. Is it
possible to save this format so that it is available to select from the
custom format list instead of having to re-type each time?? Thanks!

Gord Dibben

Save a custom format for future use
 
Custom formats are workbook-specific and saved with that workbook only.

You could add a macro to your Personal.xls to set the Custom Format.

Assign that macro to a button or shortcut key.

Examples...............................

Sub Leaders()
Selection.NumberFormat = "@*."
End Sub

Sub sq_Meters()
Selection.NumberFormat = "0"" m" & Chr(178) & """"
'0179 for cubic meters
End Sub


Gord Dibben MS Excel MVP


On Wed, 17 Dec 2008 07:26:43 -0800, K Cook
wrote:

I frequently use the same custom number format in spreadhseets. Is it
possible to save this format so that it is available to select from the
custom format list instead of having to re-type each time?? Thanks!



K Cook

Save a custom format for future use
 
Thanks for the help. That answers my question.


"Gord Dibben" wrote:

Custom formats are workbook-specific and saved with that workbook only.

You could add a macro to your Personal.xls to set the Custom Format.

Assign that macro to a button or shortcut key.

Examples...............................

Sub Leaders()
Selection.NumberFormat = "@*."
End Sub

Sub sq_Meters()
Selection.NumberFormat = "0"" m" & Chr(178) & """"
'0179 for cubic meters
End Sub


Gord Dibben MS Excel MVP


On Wed, 17 Dec 2008 07:26:43 -0800, K Cook
wrote:

I frequently use the same custom number format in spreadhseets. Is it
possible to save this format so that it is available to select from the
custom format list instead of having to re-type each time?? Thanks!





All times are GMT +1. The time now is 02:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com