+ Reply to Thread
Results 1 to 2 of 2

loop through all files in a folder and run code to unmerge and shift

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    loop through all files in a folder and run code to unmerge and shift

    Hello. I have 100 files in a folder. Each file has one tab. Each tab has three tables. For the second and the third tables, I would like to CHECK to see if column B and C are merged...if not, ignore and go to next file. If they are merged, I want to unmerge and shift all of the cells to the right of B/C to the left one column. Please help.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: loop through all files in a folder and run code to unmerge and shift

    How do you determine if it is merged?

    What part of the code are you needing help on specifically?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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] Excel VBA code for selecting a folder then search & open specified files in that folder
    By Excelrookie_1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-27-2021, 03:09 AM
  2. code to loop through all .docx files in folder
    By rs1aj in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-12-2015, 04:41 PM
  3. Replies: 12
    Last Post: 03-09-2015, 05:52 PM
  4. [SOLVED] VBA Code to Move Individual Files from 1 Folder to a new Folder
    By mike.lawrie448 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-21-2014, 07:05 AM
  5. VBA Loop for a folder of all the files, Loop all the worksheet in each workbook
    By nanjingwoodworking in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2013, 07:20 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