+ Reply to Thread
Results 1 to 4 of 4

help on a Do loop that doesn't work

  1. #1
    Registered User
    Join Date
    01-12-2015
    Location
    Israel
    MS-Off Ver
    2007
    Posts
    2

    help on a Do loop that doesn't work

    I have big data file on excel, the file has 6930 rows and 8 columns, the 8 column has percents (0%, 4%, 16%, 18%, 19% and etc..)
    I tried to do a macro that paint all the rows that the percent in the end of their row are bigger then 18%, and it doesn't work,
    I would like to get some ideas how to make it work, Thanks in advance.

    The file start from row 3, so rows 1 and 2 are empty The macro:

    Please Login or Register  to view this content.
    Last edited by g_liron; 01-12-2015 at 10:50 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: help on a Do loop that doesn't work

    Hi and welcome to the forum. Unfortunately your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: help on a Do loop that doesn't work

    Also cross-posted: http://stackoverflow.com/questions/2...-big-data-file
    Remember what the dormouse said
    Feed your head

  4. #4
    Registered User
    Join Date
    01-12-2015
    Location
    Israel
    MS-Off Ver
    2007
    Posts
    2

    Re: help on a Do loop that doesn't work

    Thanks, change it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Loop to find, copy and paste data doesn't work
    By mazerinth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2012, 09:07 AM
  2. UDF Doesn't work with top level Do While-Loop
    By indium in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-02-2012, 01:17 PM
  3. Macro Loop Broken. Detects Max but doesn't continue loop
    By herchenbach in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2011, 12:17 PM
  4. My loop doesn't work why not
    By ljh66 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-06-2007, 01:02 PM
  5. [SOLVED] For Each - loop doesn't work.
    By Intellihome in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2005, 07:05 PM

Tags for this Thread

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