Results 1 to 1 of 1

double loop until the end (?)

Threaded View

  1. #1
    Forum Contributor
    Join Date
    03-24-2014
    Location
    Lisboa, Portugal
    MS-Off Ver
    Office 365
    Posts
    177

    double loop until the end (?)

    Hi guys
    I don't know hot to work with loops and also, don't know how to "find" the last record for the loop as well as sometimes the comand copy paste till the last rec sometimes it works and sometimes don't. Clearly don't know anything...
    I've attach the loop if file so you can see what i need:
    Sheet 1 : This is the file i have after "worked on it". There are other fields on line 18 besides what you see.
    It's suppose to take that bold number, today on cell D19, and copy it till the last record on same column before it stars the other number "020" wich today is in line 43, and so on, till it doesn't find any other number to copy.
    Sheet2 : is the result of what i said before on this last paragraph. On this sheet it's supposed to delete all the lines that in column C or D are blank. I don't know why it doesn't result with me. I do control+end and delete. Sometimes it works and others don't.
    And that's it.
    I hope my english was understandablee.
    Many thanks
    Best regards
    Pedro
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Double 'For Each Cell' loop range problem
    By gombi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2014, 02:25 PM
  2. Copy double-clicked cell to next empty row in different sheet with each double-click
    By erhathaway in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-25-2013, 12:06 AM
  3. Macro to loop tasks, double-macros
    By Gaura215 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-30-2012, 04:31 AM
  4. a double loop?
    By jimmy1981 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-03-2010, 10:48 AM
  5. [SOLVED] double loop madness - help with macro
    By Nicole Seibert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2006, 02:30 AM

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