+ Reply to Thread
Results 1 to 4 of 4

Second Loop not picking up

  1. #1
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Second Loop not picking up

    In the macro below it works great the through the first loop of:

    HTML Code: 
    and works the first loop of:

    HTML Code: 

    When it loops back around and gets to the

    HTML Code: 
    It is reading "0" still instead of the new value that was put in cell T97

    How can I fix that issue. I have almost completed this macro and this is the last hold up. Thanks for help.


    HTML Code: 

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Second Loop not picking up

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Second Loop not picking up

    Are you sure CarADLoc refers to T97?

    You set it to reference P97 here and I can't find anything in the code that would change it to reference T97.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Second Loop not picking up

    I noticed the same thing as Norie... was "T97" just a typo on the post? or is that the problem?

+ 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. [SOLVED] Copy dynamically changing column and Paste using VBA Loop (Loop within Loop)
    By nixon72 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2013, 12:46 PM
  2. [SOLVED] Vlookup – Picking up first date and then picking up second date if there is one.
    By CranstonWatts in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-21-2012, 11:32 AM
  3. picking up fiscal year in a for loop, vba. Excel
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2012, 04:45 AM
  4. Picking the last non-zero value in a row
    By iccy in forum Excel General
    Replies: 3
    Last Post: 11-04-2009, 11:01 AM
  5. Picking more than one name
    By Maniac in forum Excel General
    Replies: 1
    Last Post: 02-01-2005, 12:36 PM

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