+ Reply to Thread
Results 1 to 5 of 5

Merged cell with no needed spaces

  1. #1
    Registered User
    Join Date
    07-27-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    2

    Merged cell with no needed spaces

    Hi. I am using Excel2003 and when I creat a merged cell, the word inside it gets unneeded space after it.

    When I create a merged cell with the word "PEN" and I 'copy and paste' the word "PEN" from Excel to the NotePad, the word "PEN" gets a lot of spaces after it and looks like that: "PEN___________________"
    (read _ as a space. so, how you can see, the word gets a lot spaces after the it)

    Is there any way to remove these spaces after the words inside the merged cell?
    Last edited by bipenett; 07-27-2010 at 09:14 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Merged cell with no needed spaces

    Are they spaces or is it a single tab character? I get a tab character when I paste a merged cell into Notepad. This is because the second cell of the merged cells will be represented by a tab in Notepad. You get the same effect when you copy and paste two cells, where just the first cell has data.

    Anyway, the solution lies in avoiding merged cells. Why do you merge them in the first place? Use "Center across selection" in the Horizontal section of the Aligment tab of the formatting dialog to achieve the same effect, but retain the individual cells.

    If you don't want to center the text across several cells, then use formatting to make the range appear as one cell.

    Merged cells should never have been invented. They lead to all kinds of trouble.

  3. #3
    Registered User
    Join Date
    07-27-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Merged cell with no needed spaces

    Quote Originally Posted by teylyn View Post
    Are they spaces or is it a single tab character? I get a tab character when I paste a merged cell into Notepad. This is because the second cell of the merged cells will be represented by a tab in Notepad. You get the same effect when you copy and paste two cells, where just the first cell has data.

    Anyway, the solution lies in avoiding merged cells. Why do you merge them in the first place? Use "Center across selection" in the Horizontal section of the Aligment tab of the formatting dialog to achieve the same effect, but retain the individual cells.

    If you don't want to center the text across several cells, then use formatting to make the range appear as one cell.

    Merged cells should never have been invented. They lead to all kinds of trouble.
    Lol. Alright. Well. thats not exactly what I was thinking about, but I gonna make my way. Thanks a lot, man. Hugs.

  4. #4
    Registered User
    Join Date
    03-24-2021
    Location
    Missouri
    MS-Off Ver
    Office 365/2019
    Posts
    12

    Re: Merged cell with no needed spaces

    How has this not been resolved in over a decade? There has got to be some sort of cell format that takes away that annoying tab spacing from the text in merged cells.

  5. #5
    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
    52,936

    Re: Merged cell with no needed spaces

    Quote Originally Posted by sussington View Post
    How has this not been resolved in over a decade? There has got to be some sort of cell format that takes away that annoying tab spacing from the text in merged cells.
    Cell formatting is purely cosmetic and only changes the appearance of a cell, not it's contents.
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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