+ Reply to Thread
Results 1 to 2 of 2

Inserting rows conditionally

  1. #1
    Registered User
    Join Date
    09-06-2010
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    1

    Inserting rows conditionally

    I have a dataset where some of my text values in column A are bold and some are not. I'd like to automatically insert a row after every bold value... without having to go through and do it manually. Anyone know how to make this happen? Thanks a lot.

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

    Re: Inserting rows conditionally

    Hi Thaguru, welcome to the forum.

    The following code would go into the worksheet module that contains the data. (Right-click on that sheet tab and choose View Code. Paste this code into the empty code area. Close the VB Editor. Run the macro from the Developer toolbar.)
    Please Login or Register  to view this content.
    It assumes your list is in A1:Axx (the last used row in column A is calculated automatically).

    Hope that helps!

+ 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