+ Reply to Thread
Results 1 to 3 of 3

For loop crashes Excel when filling a cell range with string value

  1. #1
    Forum Contributor
    Join Date
    06-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    150

    For loop crashes Excel when filling a cell range with string value

    I have a large range with values scattered all over. The only way way to find these values is to select and then filter blanks from the range.

    To provide more visibility to the answers, I want to fill all blanks in the range with a "NO_RESULTS" string.

    I created this loop to take care of it, however Excel crashes in the middle of the loop. I could see the results pasting when it starts, but a few minutes later, the loop would cause Excel to crash.

    Please Login or Register  to view this content.
    Thanks for your help.

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

    Re: For loop crashes Excel when filling a cell range with string value

    Hi

    Why use a loop? Try

    Please Login or Register  to view this content.
    rylo

  3. #3
    Forum Contributor
    Join Date
    06-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    150

    Re: For loop crashes Excel when filling a cell range with string value

    Amazingly brilliant and simple! Sometimes a problem can blind you from finding a simple solution.

    Thanks.

+ 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