Results 1 to 7 of 7

Insert new column when "average" found in row 3

Threaded View

  1. #1
    Registered User
    Join Date
    05-04-2009
    Location
    San Diego, California
    MS-Off Ver
    Excel 2003
    Posts
    43

    Insert new column when "average" found in row 3

    This code inserts a new column to the left of Column CV

    Sub Macro1()
        Columns("CV:CV").Select
        Selection.Insert Shift:=xlToRight
    End Sub
    I am looking for assistance with this code. I am wanted to modify it so it will scan Row 3 for the contents “Average”. When those contents are found in a column in Row 3, the code will insert a new column to the left of that column. In other words whatever column in Row 3 that contains the contents “Average” a new column will be inserted to the left of that column. Can you help?
    Last edited by Buddy7; 08-13-2009 at 05:27 PM. Reason: SOLVED

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