+ Reply to Thread
Results 1 to 3 of 3

Automatically deleting empty columns and 2 adjacent

  1. #1
    Registered User
    Join Date
    07-19-2011
    Location
    Derby
    MS-Off Ver
    Excel 2003
    Posts
    41

    Automatically deleting empty columns and 2 adjacent

    Hi there,

    I have a macro which compares 2 large csv files with one another. When it has finished it will display the CSV files side by side and highlight what cells have been modified. After my results have been displayed I would like to cut out the chaff by getting using vba code to check each column for a change and if there is not delete that column and the 2 columns to the immediate left.ive added a simple example to help visualise what I want. the red columns are the ones I would want automatically deleted but they can change on a weekly basis.

    Thankyou!

    G

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Automatically deleting empty columns and 2 adjacent

    Please Login or Register  to view this content.



  3. #3
    Registered User
    Join Date
    07-19-2011
    Location
    Derby
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: Automatically deleting empty columns and 2 adjacent

    Thanks alot mate :D

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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