Closed Thread
Results 1 to 3 of 3

Unmerge All Cells

  1. #1
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Unmerge All Cells

    Why does this not work? Is it because the first sheet does not have merged cells? If so, how do I check to see that the sheet does not have any merged cells?
    Please Login or Register  to view this content.
    I get "application-defined or object-defined error"
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Unmerge All Cells

    I've run it on a workbook with a couple of sheets and NO merged cells in either of them ... no problem. Added some spaces to the sheet names to test that.

    Any protected sheets, locked cells, hidden rows/columns? Is the workbook protected?

    Could a trimmed sheet name become the same as another trimmed sheet name? But that gives an Error 1004 ... that name is already taken, try another.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  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
    52,933

    Re: Unmerge All Cells

    dflak, you should know better?
    Welcome to the Forum, unfortunately this is a duplicate post and as such will now be closed, you may continue in your other thread.

    Thread Closed.

    https://www.excelforum.com/excel-pro...all-cells.html
    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

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Unmerge All Cells
    By dflak in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-29-2019, 11:52 AM
  2. Replies: 2
    Last Post: 03-17-2015, 09:47 AM
  3. vba to unmerge cells
    By Ironman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-31-2009, 10:25 AM
  4. unmerge cells
    By Susanstef in forum Excel General
    Replies: 6
    Last Post: 06-26-2006, 10:13 PM
  5. [SOLVED] Unmerge to all cells possible?
    By Dan von InfoPath in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2006, 05:10 PM
  6. unmerge cells
    By Brian Matlack in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2006, 07:10 PM
  7. How do you unmerge cells?
    By Pank Mehta in forum Excel General
    Replies: 1
    Last Post: 02-01-2005, 11: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