How to change default format of Excel which apply to all new Excels Workbook












0















Basically There are two settings which I want to change from default behaviour of Excel.




  1. Changing Default Column width


In Excel, Currently default column width is set to "8.43" for every new instance of Excel.



I need to change this setting and I want to change it once and it should be applied to all new Excels afterwards.




  1. To stop excel to convert large numbers into exponent number


If it is possible to set a general rule in excel which suggests all excel instance not to convert large numbers into exponent value.



update - Here I would like excel to accept data as it is entered by user (and not format at all)





For first requirement I have created a template Book.xltx where I have set default Width to 20 and save this template into



C:Users\AppDataRoamingMicrosoftExcelXLSTART



path. But this doesn't seem to help.





UPDATE



I Found the solution for the first question here




I was able to resolve this by disabling the Start screen in Excel.



I had the exact same problem. You all previous posters didn't clarify
whether your Sheet.xltx file was working - mine was working fine. I'd
open a new workbook & it would be the dumb default, but if I added a
sheet it would be my lovely default sheet.



The problem was the same whether I picked "blank workbook" from the
start screen or just hit ctrl-N at any time.



However, by going to File->Options



Then General->Start up options-> uncheck "Show the Start screen when
this application starts"



And now it's using my lovely template.




But this is not working when I open CSV files in excel how to enable it for CSVs as well.










share|improve this question





























    0















    Basically There are two settings which I want to change from default behaviour of Excel.




    1. Changing Default Column width


    In Excel, Currently default column width is set to "8.43" for every new instance of Excel.



    I need to change this setting and I want to change it once and it should be applied to all new Excels afterwards.




    1. To stop excel to convert large numbers into exponent number


    If it is possible to set a general rule in excel which suggests all excel instance not to convert large numbers into exponent value.



    update - Here I would like excel to accept data as it is entered by user (and not format at all)





    For first requirement I have created a template Book.xltx where I have set default Width to 20 and save this template into



    C:Users\AppDataRoamingMicrosoftExcelXLSTART



    path. But this doesn't seem to help.





    UPDATE



    I Found the solution for the first question here




    I was able to resolve this by disabling the Start screen in Excel.



    I had the exact same problem. You all previous posters didn't clarify
    whether your Sheet.xltx file was working - mine was working fine. I'd
    open a new workbook & it would be the dumb default, but if I added a
    sheet it would be my lovely default sheet.



    The problem was the same whether I picked "blank workbook" from the
    start screen or just hit ctrl-N at any time.



    However, by going to File->Options



    Then General->Start up options-> uncheck "Show the Start screen when
    this application starts"



    And now it's using my lovely template.




    But this is not working when I open CSV files in excel how to enable it for CSVs as well.










    share|improve this question



























      0












      0








      0








      Basically There are two settings which I want to change from default behaviour of Excel.




      1. Changing Default Column width


      In Excel, Currently default column width is set to "8.43" for every new instance of Excel.



      I need to change this setting and I want to change it once and it should be applied to all new Excels afterwards.




      1. To stop excel to convert large numbers into exponent number


      If it is possible to set a general rule in excel which suggests all excel instance not to convert large numbers into exponent value.



      update - Here I would like excel to accept data as it is entered by user (and not format at all)





      For first requirement I have created a template Book.xltx where I have set default Width to 20 and save this template into



      C:Users\AppDataRoamingMicrosoftExcelXLSTART



      path. But this doesn't seem to help.





      UPDATE



      I Found the solution for the first question here




      I was able to resolve this by disabling the Start screen in Excel.



      I had the exact same problem. You all previous posters didn't clarify
      whether your Sheet.xltx file was working - mine was working fine. I'd
      open a new workbook & it would be the dumb default, but if I added a
      sheet it would be my lovely default sheet.



      The problem was the same whether I picked "blank workbook" from the
      start screen or just hit ctrl-N at any time.



      However, by going to File->Options



      Then General->Start up options-> uncheck "Show the Start screen when
      this application starts"



      And now it's using my lovely template.




      But this is not working when I open CSV files in excel how to enable it for CSVs as well.










      share|improve this question
















      Basically There are two settings which I want to change from default behaviour of Excel.




      1. Changing Default Column width


      In Excel, Currently default column width is set to "8.43" for every new instance of Excel.



      I need to change this setting and I want to change it once and it should be applied to all new Excels afterwards.




      1. To stop excel to convert large numbers into exponent number


      If it is possible to set a general rule in excel which suggests all excel instance not to convert large numbers into exponent value.



      update - Here I would like excel to accept data as it is entered by user (and not format at all)





      For first requirement I have created a template Book.xltx where I have set default Width to 20 and save this template into



      C:Users\AppDataRoamingMicrosoftExcelXLSTART



      path. But this doesn't seem to help.





      UPDATE



      I Found the solution for the first question here




      I was able to resolve this by disabling the Start screen in Excel.



      I had the exact same problem. You all previous posters didn't clarify
      whether your Sheet.xltx file was working - mine was working fine. I'd
      open a new workbook & it would be the dumb default, but if I added a
      sheet it would be my lovely default sheet.



      The problem was the same whether I picked "blank workbook" from the
      start screen or just hit ctrl-N at any time.



      However, by going to File->Options



      Then General->Start up options-> uncheck "Show the Start screen when
      this application starts"



      And now it's using my lovely template.




      But this is not working when I open CSV files in excel how to enable it for CSVs as well.







      microsoft-excel templates default-settings






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 1 at 10:17







      Amit

















      asked Mar 1 at 9:17









      AmitAmit

      787




      787






















          1 Answer
          1






          active

          oldest

          votes


















          0














          To change Default Column Width, and Stop excel to convert large numbers into Exponential number on a WORKBOOK, I would like to suggest this VBA (Macro) code.



          Private Sub Workbook_Open()
          Dim ws As Worksheet
          For Each ws In ActiveWorkbook.Worksheets
          With ws

          .Cells.ColumnWidth = 20
          .Cells.NumberFormat = "0"
          End With
          Next ws

          End Sub


          How it works:




          • Press ALT+F11 to open VB editor window.

          • On Top Left find Project Explorer, Click on
            ThisWorkbook.


          • Copy & Paste this code.

          • To see the effects Close and Open the
            Workbook.


          N.B.




          • Every time you insert New Sheet, just Close & Open the Workbook to get the effect.


          Edited:



          You may use this code on Columns/Range of your choice for specific Formats.



          Sub formatColumns()

          Columns(1).NumberFormat = "@"
          Columns(2).NumberFormat = "General"
          Columns(3).NumberFormat = "0"
          Columns(4).NumberFormat = "dd/mm/yyyy"
          Columns(5).ColumnWidth = 35
          Columns(6).RowHeight = 20

          End Sub

          Or

          Sheet1.Range("A2:E500").NumberFormat ="DD/MM/YYYY"



          Sheet1.Range("A:E").NumberFormat = "dd/MM/yyyy"





          share|improve this answer


























          • what will it do, when excel is having data like "11.8" ?

            – Amit
            Mar 1 at 10:12











          • @Amit,, it's a general solution, you asked how to stop Excel to convert Exponential conversion and I've suggested. Now you are thinking differently, next you say how about DATE. First you decide what is your real need!!

            – Rajesh S
            Mar 1 at 10:16











          • hello Rajesh, I have updated my question. "Here I would like excel to accept data as it is entered by user (and not format at all)" Because preventing large data to be converted into exponent value, I cannot afford 11.8 to be converted into 12 .

            – Amit
            Mar 1 at 10:18











          • @Amit,, this works in general for entire Sheet,, If You want handle both Exponentials and Numbers use this .Cells.NumberFormat = "0#.0"

            – Rajesh S
            Mar 1 at 10:20











          • I'm really sorry but that too will not fit into ""Here I would like excel to accept data as it is entered by user (and not format at all)" .. "0#.0" will affect dates.

            – Amit
            Mar 1 at 10:21












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1410414%2fhow-to-change-default-format-of-excel-which-apply-to-all-new-excels-workbook%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          To change Default Column Width, and Stop excel to convert large numbers into Exponential number on a WORKBOOK, I would like to suggest this VBA (Macro) code.



          Private Sub Workbook_Open()
          Dim ws As Worksheet
          For Each ws In ActiveWorkbook.Worksheets
          With ws

          .Cells.ColumnWidth = 20
          .Cells.NumberFormat = "0"
          End With
          Next ws

          End Sub


          How it works:




          • Press ALT+F11 to open VB editor window.

          • On Top Left find Project Explorer, Click on
            ThisWorkbook.


          • Copy & Paste this code.

          • To see the effects Close and Open the
            Workbook.


          N.B.




          • Every time you insert New Sheet, just Close & Open the Workbook to get the effect.


          Edited:



          You may use this code on Columns/Range of your choice for specific Formats.



          Sub formatColumns()

          Columns(1).NumberFormat = "@"
          Columns(2).NumberFormat = "General"
          Columns(3).NumberFormat = "0"
          Columns(4).NumberFormat = "dd/mm/yyyy"
          Columns(5).ColumnWidth = 35
          Columns(6).RowHeight = 20

          End Sub

          Or

          Sheet1.Range("A2:E500").NumberFormat ="DD/MM/YYYY"



          Sheet1.Range("A:E").NumberFormat = "dd/MM/yyyy"





          share|improve this answer


























          • what will it do, when excel is having data like "11.8" ?

            – Amit
            Mar 1 at 10:12











          • @Amit,, it's a general solution, you asked how to stop Excel to convert Exponential conversion and I've suggested. Now you are thinking differently, next you say how about DATE. First you decide what is your real need!!

            – Rajesh S
            Mar 1 at 10:16











          • hello Rajesh, I have updated my question. "Here I would like excel to accept data as it is entered by user (and not format at all)" Because preventing large data to be converted into exponent value, I cannot afford 11.8 to be converted into 12 .

            – Amit
            Mar 1 at 10:18











          • @Amit,, this works in general for entire Sheet,, If You want handle both Exponentials and Numbers use this .Cells.NumberFormat = "0#.0"

            – Rajesh S
            Mar 1 at 10:20











          • I'm really sorry but that too will not fit into ""Here I would like excel to accept data as it is entered by user (and not format at all)" .. "0#.0" will affect dates.

            – Amit
            Mar 1 at 10:21
















          0














          To change Default Column Width, and Stop excel to convert large numbers into Exponential number on a WORKBOOK, I would like to suggest this VBA (Macro) code.



          Private Sub Workbook_Open()
          Dim ws As Worksheet
          For Each ws In ActiveWorkbook.Worksheets
          With ws

          .Cells.ColumnWidth = 20
          .Cells.NumberFormat = "0"
          End With
          Next ws

          End Sub


          How it works:




          • Press ALT+F11 to open VB editor window.

          • On Top Left find Project Explorer, Click on
            ThisWorkbook.


          • Copy & Paste this code.

          • To see the effects Close and Open the
            Workbook.


          N.B.




          • Every time you insert New Sheet, just Close & Open the Workbook to get the effect.


          Edited:



          You may use this code on Columns/Range of your choice for specific Formats.



          Sub formatColumns()

          Columns(1).NumberFormat = "@"
          Columns(2).NumberFormat = "General"
          Columns(3).NumberFormat = "0"
          Columns(4).NumberFormat = "dd/mm/yyyy"
          Columns(5).ColumnWidth = 35
          Columns(6).RowHeight = 20

          End Sub

          Or

          Sheet1.Range("A2:E500").NumberFormat ="DD/MM/YYYY"



          Sheet1.Range("A:E").NumberFormat = "dd/MM/yyyy"





          share|improve this answer


























          • what will it do, when excel is having data like "11.8" ?

            – Amit
            Mar 1 at 10:12











          • @Amit,, it's a general solution, you asked how to stop Excel to convert Exponential conversion and I've suggested. Now you are thinking differently, next you say how about DATE. First you decide what is your real need!!

            – Rajesh S
            Mar 1 at 10:16











          • hello Rajesh, I have updated my question. "Here I would like excel to accept data as it is entered by user (and not format at all)" Because preventing large data to be converted into exponent value, I cannot afford 11.8 to be converted into 12 .

            – Amit
            Mar 1 at 10:18











          • @Amit,, this works in general for entire Sheet,, If You want handle both Exponentials and Numbers use this .Cells.NumberFormat = "0#.0"

            – Rajesh S
            Mar 1 at 10:20











          • I'm really sorry but that too will not fit into ""Here I would like excel to accept data as it is entered by user (and not format at all)" .. "0#.0" will affect dates.

            – Amit
            Mar 1 at 10:21














          0












          0








          0







          To change Default Column Width, and Stop excel to convert large numbers into Exponential number on a WORKBOOK, I would like to suggest this VBA (Macro) code.



          Private Sub Workbook_Open()
          Dim ws As Worksheet
          For Each ws In ActiveWorkbook.Worksheets
          With ws

          .Cells.ColumnWidth = 20
          .Cells.NumberFormat = "0"
          End With
          Next ws

          End Sub


          How it works:




          • Press ALT+F11 to open VB editor window.

          • On Top Left find Project Explorer, Click on
            ThisWorkbook.


          • Copy & Paste this code.

          • To see the effects Close and Open the
            Workbook.


          N.B.




          • Every time you insert New Sheet, just Close & Open the Workbook to get the effect.


          Edited:



          You may use this code on Columns/Range of your choice for specific Formats.



          Sub formatColumns()

          Columns(1).NumberFormat = "@"
          Columns(2).NumberFormat = "General"
          Columns(3).NumberFormat = "0"
          Columns(4).NumberFormat = "dd/mm/yyyy"
          Columns(5).ColumnWidth = 35
          Columns(6).RowHeight = 20

          End Sub

          Or

          Sheet1.Range("A2:E500").NumberFormat ="DD/MM/YYYY"



          Sheet1.Range("A:E").NumberFormat = "dd/MM/yyyy"





          share|improve this answer















          To change Default Column Width, and Stop excel to convert large numbers into Exponential number on a WORKBOOK, I would like to suggest this VBA (Macro) code.



          Private Sub Workbook_Open()
          Dim ws As Worksheet
          For Each ws In ActiveWorkbook.Worksheets
          With ws

          .Cells.ColumnWidth = 20
          .Cells.NumberFormat = "0"
          End With
          Next ws

          End Sub


          How it works:




          • Press ALT+F11 to open VB editor window.

          • On Top Left find Project Explorer, Click on
            ThisWorkbook.


          • Copy & Paste this code.

          • To see the effects Close and Open the
            Workbook.


          N.B.




          • Every time you insert New Sheet, just Close & Open the Workbook to get the effect.


          Edited:



          You may use this code on Columns/Range of your choice for specific Formats.



          Sub formatColumns()

          Columns(1).NumberFormat = "@"
          Columns(2).NumberFormat = "General"
          Columns(3).NumberFormat = "0"
          Columns(4).NumberFormat = "dd/mm/yyyy"
          Columns(5).ColumnWidth = 35
          Columns(6).RowHeight = 20

          End Sub

          Or

          Sheet1.Range("A2:E500").NumberFormat ="DD/MM/YYYY"



          Sheet1.Range("A:E").NumberFormat = "dd/MM/yyyy"






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 1 at 10:50

























          answered Mar 1 at 10:11









          Rajesh SRajesh S

          4,4202724




          4,4202724













          • what will it do, when excel is having data like "11.8" ?

            – Amit
            Mar 1 at 10:12











          • @Amit,, it's a general solution, you asked how to stop Excel to convert Exponential conversion and I've suggested. Now you are thinking differently, next you say how about DATE. First you decide what is your real need!!

            – Rajesh S
            Mar 1 at 10:16











          • hello Rajesh, I have updated my question. "Here I would like excel to accept data as it is entered by user (and not format at all)" Because preventing large data to be converted into exponent value, I cannot afford 11.8 to be converted into 12 .

            – Amit
            Mar 1 at 10:18











          • @Amit,, this works in general for entire Sheet,, If You want handle both Exponentials and Numbers use this .Cells.NumberFormat = "0#.0"

            – Rajesh S
            Mar 1 at 10:20











          • I'm really sorry but that too will not fit into ""Here I would like excel to accept data as it is entered by user (and not format at all)" .. "0#.0" will affect dates.

            – Amit
            Mar 1 at 10:21



















          • what will it do, when excel is having data like "11.8" ?

            – Amit
            Mar 1 at 10:12











          • @Amit,, it's a general solution, you asked how to stop Excel to convert Exponential conversion and I've suggested. Now you are thinking differently, next you say how about DATE. First you decide what is your real need!!

            – Rajesh S
            Mar 1 at 10:16











          • hello Rajesh, I have updated my question. "Here I would like excel to accept data as it is entered by user (and not format at all)" Because preventing large data to be converted into exponent value, I cannot afford 11.8 to be converted into 12 .

            – Amit
            Mar 1 at 10:18











          • @Amit,, this works in general for entire Sheet,, If You want handle both Exponentials and Numbers use this .Cells.NumberFormat = "0#.0"

            – Rajesh S
            Mar 1 at 10:20











          • I'm really sorry but that too will not fit into ""Here I would like excel to accept data as it is entered by user (and not format at all)" .. "0#.0" will affect dates.

            – Amit
            Mar 1 at 10:21

















          what will it do, when excel is having data like "11.8" ?

          – Amit
          Mar 1 at 10:12





          what will it do, when excel is having data like "11.8" ?

          – Amit
          Mar 1 at 10:12













          @Amit,, it's a general solution, you asked how to stop Excel to convert Exponential conversion and I've suggested. Now you are thinking differently, next you say how about DATE. First you decide what is your real need!!

          – Rajesh S
          Mar 1 at 10:16





          @Amit,, it's a general solution, you asked how to stop Excel to convert Exponential conversion and I've suggested. Now you are thinking differently, next you say how about DATE. First you decide what is your real need!!

          – Rajesh S
          Mar 1 at 10:16













          hello Rajesh, I have updated my question. "Here I would like excel to accept data as it is entered by user (and not format at all)" Because preventing large data to be converted into exponent value, I cannot afford 11.8 to be converted into 12 .

          – Amit
          Mar 1 at 10:18





          hello Rajesh, I have updated my question. "Here I would like excel to accept data as it is entered by user (and not format at all)" Because preventing large data to be converted into exponent value, I cannot afford 11.8 to be converted into 12 .

          – Amit
          Mar 1 at 10:18













          @Amit,, this works in general for entire Sheet,, If You want handle both Exponentials and Numbers use this .Cells.NumberFormat = "0#.0"

          – Rajesh S
          Mar 1 at 10:20





          @Amit,, this works in general for entire Sheet,, If You want handle both Exponentials and Numbers use this .Cells.NumberFormat = "0#.0"

          – Rajesh S
          Mar 1 at 10:20













          I'm really sorry but that too will not fit into ""Here I would like excel to accept data as it is entered by user (and not format at all)" .. "0#.0" will affect dates.

          – Amit
          Mar 1 at 10:21





          I'm really sorry but that too will not fit into ""Here I would like excel to accept data as it is entered by user (and not format at all)" .. "0#.0" will affect dates.

          – Amit
          Mar 1 at 10:21


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1410414%2fhow-to-change-default-format-of-excel-which-apply-to-all-new-excels-workbook%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How do I know what Microsoft account the skydrive app is syncing to?

          When does type information flow backwards in C++?

          Grease: Live!