+ Reply to Thread
Results 1 to 5 of 5

How insert blank line afer every 2,000th # in a row

  1. #1
    Registered User
    Join Date
    11-19-2011
    Location
    hudsonville, michigan
    MS-Off Ver
    Excel 2007
    Posts
    10

    How insert blank line afer every 2,000th # in a row

    This should be easy for someone who gets excel.
    basically I have a sheet with words grouped by a # symbol.
    I need a blank line inserted after each 2000th # symbol.

    I attached an example.

    PS would be even cooler if I could fill that row with a color for easier viewing.
    Attached Files Attached Files
    Last edited by bigmark1972; 11-20-2011 at 04:12 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: How insert blank line afer every 2,000th # in a row

    Hi,
    Try this code:
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    11-19-2011
    Location
    hudsonville, michigan
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How insert blank line afer every 2,000th # in a row

    I think that's working, it's very hard to manually sort through all 65,000 lines looking for a few blank rows.

    Is there any way we could color the entire blank row (that gets inserted)so I could spot them easier?

    Thanks for the help so far!

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: How insert blank line afer every 2,000th # in a row

    Hi bigmark1972

    You could put your cursor in Column A and do a Ctrl-DownArrow. This would then stop at the last cell before the blank the code inserted. Keep doing a Ctrl_DownArrow and it will stop at where you want.

    Or use this new code.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-19-2011
    Location
    hudsonville, michigan
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How insert blank line afer every 2,000th # in a row

    Good to go thanks 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