+ Reply to Thread
Results 1 to 2 of 2

VBA Looping Macro Help Please!

  1. #1
    Registered User
    Join Date
    09-10-2012
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    17

    VBA Looping Macro Help Please!

    Hi Guys,

    I have been puzzling over trying to create a macro for this. I am pretty new to VBA, and so this is probably out of my league in terms of programming

    I need a looping macro to take the first value from Q (i.e Q2), then search down the other values in column Q for its opposite value (so that the net is exactly nil). If the exact opposite is found, i need the macro to cut both rows that these cells sit on, and paste them to another sheet called "allocations" underneath eachother. If it does not find a match in column Q, then move onto the next value (i.e Q3)

    Thanks in advance to any help that anyone can give me, I will truely appreciate it

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: VBA Looping Macro Help Please!

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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