+ Reply to Thread
Results 1 to 3 of 3

VBA not working properly

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    Philadelphia, PA, USA
    MS-Off Ver
    Excel 2007
    Posts
    16

    VBA not working properly

    Hi All, thanks for any help you can provide. I have been through and tested this code many times and cannot figure it out.

    My goal here is to go through all of the rows. If column J = Promotable, copy that row to the Promotable tab. If J is Well Placed, move to the Well Placed tab.

    It works great for the Promotables, then it stops and does not copy any Well Placed. The odd thing is I originally had this code reading Range("C1:C"...) and Value = "Community Mgr" and it worked great. When I changed the Range and Value, it crapped out on me.


    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: VBA not working properly

    Your second If THEN is nested inside your first... Try this...
    Please Login or Register  to view this content.
    Elegant Simplicity............. Not Always

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: VBA not working properly

    Please Login or Register  to view this content.



+ 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