+ Reply to Thread
Results 1 to 6 of 6

Cell alignment

  1. #1
    Registered User
    Join Date
    05-06-2018
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    4

    Cell alignment

    I can't find how do achieve the alignment that I want.

    I have a block of cells in one column. The cells are filled with text.

    I want the block to be left aligned. That is easy.

    But I want the block as a whole to be right aligned.


    Where the cells are left aligned with each other but the block as a whole is right aligned.

  2. #2
    Registered User
    Join Date
    05-06-2018
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    4

    Re: Cell alignment

    Sorry I cannot get the font to work to show what I want.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Cell alignment

    Not really sure what you mean here? If you have everything left aligned, you cannot also have it right-aligned?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    08-07-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Cell alignment

    Hi, is what you're talking about centering the contents per column? If so, select a column/s, right click and click the three lines beside the cell fill. Should say "center" when highlighted.

  5. #5
    Registered User
    Join Date
    05-06-2018
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    4

    Re: Cell alignment

    indent.png

    I want to achieve this effect.

    The longest string is right aligned and the other strings are left aligned with the longest string.

  6. #6
    Registered User
    Join Date
    05-06-2018
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    4

    Re: Cell alignment

    I achieved my example using left align and indent but I want the effect to be automatic if the cells values change or the cell width is changed.

+ 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. [SOLVED] Cell Text Alignment
    By forestview in forum Excel General
    Replies: 3
    Last Post: 05-30-2016, 11:08 AM
  2. [SOLVED] VBA to change cell alignment
    By juriemagic in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-07-2014, 08:36 AM
  3. Replies: 1
    Last Post: 02-02-2012, 11:32 AM
  4. Excel 2007 : Cell Alignment through code
    By nlm in forum Excel General
    Replies: 2
    Last Post: 07-14-2011, 05:42 AM
  5. Cell Alignment not working
    By excelme in forum Excel General
    Replies: 1
    Last Post: 07-02-2010, 02:40 PM
  6. [SOLVED] Excel cell alignment
    By Sarbjit9122 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-07-2006, 07:35 PM
  7. Text alignment in a cell from VBA
    By brucemc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2006, 02:30 PM

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