+ Reply to Thread
Results 1 to 9 of 9

Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

  1. #1
    Registered User
    Join Date
    01-17-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    Can you set the Cell Alignment (center) and Page Break (to appear) ONCE in the Properties (or somewhere else?) so that all new created files/spreadsheets come with those settings ??
    Thank you!

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    For the alignment, do this:

    Create a blank workbook. Set the Normal style to be centre-aligned.
    Save it as an Excel template called 'Book.xltx' in your Excel startup folder. You may need to turn on 'Show hidden files and folders' through Windows to be able to see this folder - it's normally:
    C:\Users\ *yourusername* \AppData\Roaming\Microsoft\Excel\XLSTART
    Every time you create a blank workbook ('file'), this template will be used, with your centre-alignment.

    You should do the same thing with a single sheet and save that as an Excel template named 'Sheet.xltx' - put it in the same folder.
    That will be used every time you insert a new sheet ('tab').

    Hope that helps.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    01-17-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    Aardigspook:
    I followed your clear instructions but when I open a new workbook the Alignment > Vertical still shows as "Bottom".
    I am pasting a screen print to show that the templates were generated (and modified) today.

    Excel Template files.JPG

    Thanks for your prompt response and for any further suggestions for my issue (should saving those 2 .xltx files with the Page Break showing also saved that setting for future worksheets? It did not take, either)
    Last edited by G.V.; 01-18-2016 at 05:42 PM.

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    I just tried this again and it worked for me
    Step-by-step:
    1. Open a blank workbook.
    2. On the 'Home' tab, click 'Cell Styles' then right-click the 'Normal' style at the top left and select 'Modify'.
    3. Click the 'Format' button, then select the 'Alignment' tab.
    4. Change the alignment as you want (Vertical = Center).
    5. Click OK.
    6. Make sure you've got cell A1 selected, then press F12 to open the 'Save As' dialogue.
    7. In 'Save as type' select 'Excel template (*.xltx)'.
    8. Name the file as 'Book.xltx' and save it in the XLSTART directory.
    9. Close Excel and re-open it - you should have a one-sheet book with the vertical alignment set to centred.

    You can now repeat steps 6-8 using the filename 'Sheet.xltx' and you'll have a worksheet template with the same alignment.

    The forum won't allow me to upload a template, unfortunately, or I'd attach the Book and Sheet I've just done.

    Regarding the page break lines, I don't know of any way to get those to always appear at start without using VBA - I suggest you just click the 'Page Layout' icon (bottom right, to the left of the zoom slider') then click the 'Normal' icon - the page breaks will then appear.

  5. #5
    Registered User
    Join Date
    01-17-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    Tried again, following exactly your steps (I am used to click on the top left corner of the spreadsheet to select all the cells, then Home tab/ Format/Format Cells/Alignment..etc.), but it still does not register the change.
    Thank you for all your help!

  6. #6
    Registered User
    Join Date
    01-17-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    Aardigspook and for the benefit of othe users,
    I am pasting the link to an article that enumerates your exact steps:

    https://www.microsoft.com/en-gb/smb/...-in-Excel-2013

    but that, at the end (after the word "Addendum", before the picture), explains that Excel does NOT use the templates saved in the XLSTART folder, but rather the ones (same names) in the path specified in the "File -> Options -> Save", under the section "Save Workbooks", with a path similar to "C:\Users\*user name here*\Documents\Custom Office Templates".
    Unfortunately for me it still does NOT work. I must have a one-of-a-kind version of Excel....

  7. #7
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    The article is for 2013 which seems to work a bit differently from 2010 (proviso - I don't have 2013). It seems that in 2013 you need the templates in both the XLSTART folder (which is used when Excel starts - in a sort of logical way!) and also in the Templates folder. According to the article, you can set the templates folder directly in Excel in 2013. That's not the case in 2010, in which you can, to the best of my knowledge, only set the templates location through Word options, after which that templates location applies to all Office programs.

    Regardless, I've just tried this (in 2010) with the templates only in the XLSTART folder and I was able to create new workbooks (files) and worksheets (tabs) with the vertically-centred alignment pre-set. So I don't know what's going on that your Excel isn't doing the same - sorry!

  8. #8
    Registered User
    Join Date
    01-17-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    Sorry for the confusion, Aardigspook. I have 2010 in the desktop, and 2013 on the laptop (one is the upgrade of the other, and I find the same problem in both).
    But let me continue with Excel 2013.
    My only way to make custom Templates "stay", is following the (offline) Help, which I summarize in the following image (sorry again for the confusion, my fault, and thanks again for your time and help).

    Excel - How To create custom Templates.JPG

  9. #9
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Set the Cell Alignment and Page Break ONCE for all new spreadsheets ???

    Glad you finally got it working - shame it now requires such a convoluted method. Obviously (?) if you name your exported template as 'Book.xltx' then new files will be named 'Book1', etc, as it seems to just add '1' to the name of your template - cosmetic issue only.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Find First match value and add page break, findnext value and add page break
    By dwx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2013, 12:58 PM
  2. Replies: 1
    Last Post: 01-28-2013, 02:14 AM
  3. Replies: 1
    Last Post: 02-02-2012, 11:32 AM
  4. merged cell's contents cut off beyond page break
    By 8thWonder in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2009, 10:52 AM
  5. need page break by asking the input file for page break to be done
    By saikumar in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-10-2008, 07:33 AM
  6. page break on every cell
    By drocket in forum Excel General
    Replies: 5
    Last Post: 12-06-2006, 08:55 AM
  7. Removing Page Break Preview from all spreadsheets
    By Rozonus in forum Excel General
    Replies: 1
    Last Post: 06-29-2006, 11:45 AM
  8. adding a new page break to an existing page break
    By Edward Letendre in forum Excel General
    Replies: 1
    Last Post: 03-06-2005, 06:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1