Results 1 to 4 of 4

Thread: unmerge all cells a workbook from another workbook

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Is the workbook where the cells need to be unmerged open?

    If it is closed, you could try this. (Change the path and name references as required)
    Sub Maybe()
        Dim wb2 As Workbook
        Application.ScreenUpdating = False
        Workbooks.Open Filename:="C:\Some Folder\TempBook.xlsm"
        Set wb2 = ActiveWorkbook
        wb2.Sheets(1).Cells.UnMerge
        wb2.Close True
        Application.ScreenUpdating = True
    End Sub
    Last edited by jolivanes; 07-28-2014 at 08:50 PM.

Posting Permissions

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