+ Reply to Thread
Results 1 to 3 of 3

Automatically Add a Blank Row Before all Cells Containing 'Major Line'???

  1. #1
    Registered User
    Join Date
    03-01-2013
    Location
    Pittsburgh, Pennsylvania
    MS-Off Ver
    Excel 2010
    Posts
    6

    Angry Automatically Add a Blank Row Before all Cells Containing 'Major Line'???

    Hello All,

    I am new to this forum.

    Anyway, I was wondering if there was a macro that could be run that would insert a row before all cells that contain a 'Major Line'??? I have over 14,000 lines, and it would save a great deal of time rather than having to manually insert all rows where needed . Keep in mind I am new to using VBA, please explain in detail. Would appreciate any help! See the screen shot below, refer to line 7424 where I have manually inserted the row.

    ScreenShot of Workbook.PNG

    Thanks!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Automatically Add a Blank Row Before all Cells Containing 'Major Line'???

    What is a 'Major Line'?

    There are no rows with that text in them.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    03-01-2013
    Location
    Pittsburgh, Pennsylvania
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Automatically Add a Blank Row Before all Cells Containing 'Major Line'???

    The Major Line refers to a product, each product has a different major line. For example, HH&A (refer to screenshot), another might be GASKET, there are several.

+ 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