+ Reply to Thread
Results 1 to 2 of 2

VB Code to un-merge cells

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code to un-merge cells

    Hello:

    I have excel file and i need a simple VB Code to un-merge the following range in Sheet1.

    B8:B100
    D8:D100

    After un-merging, I would like to expand the column B to width 20 and column D to width 15, and then delete Column I,J & K and then save the file.

    Please let me know if any questions.

    Thank you

    Riz Momin
    Last edited by rizmomin; 12-12-2013 at 05:21 PM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: VB Code to un-merge cells

    Have you tried recording a macro of doing this? It won't give you the most concise code, but it will show you everything you did with regard to unmerging/formatting/deleting.

+ 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] VBA code needed to add auto serial number, delete blank row & merge cells
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-28-2021, 06:50 AM
  2. VBA Code to Autofit Merge and Wrap Texts Cells
    By Hudas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2012, 05:56 PM
  3. VBA code to Merge the repeated cells and sum the corresponding columns
    By kiran234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2010, 07:58 PM
  4. How to merge cells in Word document by VBA code??
    By SiriS in forum Excel General
    Replies: 0
    Last Post: 05-04-2006, 07:03 AM
  5. [SOLVED] MERGE CELLSHow to merge two cells in excel?
    By laure abbass in forum Excel General
    Replies: 1
    Last Post: 11-10-2005, 01:50 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