+ Reply to Thread
Results 1 to 5 of 5

Find a line of text and insert 5 rows

  1. #1
    Registered User
    Join Date
    09-19-2007
    Posts
    3

    Find a line of text and insert 5 rows

    I need a macro that finds the row that includes the text 'Tax included in each line' and adds 5 rows above it. The rows need to mimic the formulas in the 'Tax included in each line' row.

    I hope this makes sense.

    Thank you for the help.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Which column will contain the text? IS this text to also be copied to the inserted rows? Or is it a header in column A that is to be left blank. Is there only 1 row which will contain the text, or multiple rows?

    Some more detail on your structure would be a help. Perhaps build an example file showing a sheet with the before structure, and a sheet with the after structure.

    rylo

  3. #3
    Registered User
    Join Date
    09-19-2007
    Posts
    3

    Message Reply

    1. The column that contains the text is B but the cell is merged with C, D, and E.
    2. The text is not to be copied into the inserted rows but the formula in column I is to be copied into the new rows.

    I've attached a file trying to show what I mean.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try

    Please Login or Register  to view this content.


    HTH

    rylo

  5. #5
    Registered User
    Join Date
    09-19-2007
    Posts
    3

    Thank you

    Made a few adjustments to fit my larger worksheet and it worked perfectly.
    Thank you so much.

+ 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