+ Reply to Thread
Results 1 to 3 of 3

VBA needed for inserting rows

  1. #1
    Registered User
    Join Date
    05-14-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    32

    VBA needed for inserting rows

    Hello -
    Will someone help with writing a macro to insert three rows based on the text of a column?

    I have 10 columns. Columnn G includes text of "Class", "Elearning" and "Test".
    I currently have 300 rows with all text data. I want the VBA to insert three (3) rows BELOW when column G is showing Class. When column G is not Class, do nothing.
    Can this be done? Hope someone can help me with the codes. Greatly appreciated.

    Thank you!

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: VBA needed for inserting rows

    Try this

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-14-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: VBA needed for inserting rows

    Hi Mrice, the codes worked. I had to change something slightly but it worked. thank you very much!

+ 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. Help Needed in Inserting Signature in MailEnvelope
    By jmtwentynine in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2015, 12:31 PM
  2. Help needed: Inserting standard mail format in hyperlink
    By Elangovan89 in forum Excel General
    Replies: 4
    Last Post: 07-02-2014, 12:31 AM
  3. Replies: 0
    Last Post: 05-20-2014, 11:58 AM
  4. Help needed inserting data from another workbook
    By badlydrunkboy in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 01-14-2014, 07:19 PM
  5. [SOLVED] Help Needed!! on inserting missing date within a col with new rows
    By rej2k7 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-29-2012, 04:35 PM
  6. [SOLVED] Inserting Blank rows after every row upto 2500 rows
    By Manju in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-22-2006, 08:00 AM
  7. Inserting multiple rows in excel with data in consecutive rows
    By technotronic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2005, 11:05 AM

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