+ Reply to Thread
Results 1 to 1 of 1

Running Macro with Do Loop of similar based on values in a Column

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    Portsmouth
    MS-Off Ver
    Excel 2010
    Posts
    1

    Running Macro with Do Loop of similar based on values in a Column

    I am new to VBA and struggling to get to grips with some basic things but we have a recorded macro that is being run to manage data based on selections in column O in a spreadsheet. I therefore want to run a certain set of code until we have an END value or maybe Blank in Column O. The current Recorded Macro does a find so from the current Active Cell so you run this by selecting the Cell above the rows in Column O, and then hit Go. This runs one invocation so I've managed to add some changes but the macro still is performing a find and going across the Worksheet and selecting the next value for "TRUE" and carrying on and managing data I don't want to amend.

    I really want to code this in VBA such that we run this based on the column O data but with the real code for finds, insert, clear contents etc which is what is in the recorded macro. It does take some time to perform each run through of the macro and with thousands of lines of data then it takes hours but am sure this can really be coded better. Maybe that's the way things work with recorded macro's so hoping someone could help me with this .....

    I've included attachment with sample data.

    Many thanks
    Carl.



    Current code shown below >>>


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by arlu1201; 04-11-2013 at 04:14 AM. Reason: Use code tags in future.

+ 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