+ Reply to Thread
Results 1 to 5 of 5

Problem running a loop with a #N/A in the cell

  1. #1
    Registered User
    Join Date
    08-13-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2016,2016,365
    Posts
    92

    Problem running a loop with a #N/A in the cell

    Hello,

    If have the following code but if S has #N/A in the cell then the loop is returning the value of CEO into R, can you help please? Thanks Ross

    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Problem running a loop with a #N/A in the cell

    Can't see why that would be at first glance ... but you don't need two loops.

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. 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 shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Problem running a loop with a #N/A in the cell

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Problem running a loop with a #N/A in the cell


    Hi !

    I guess that not needs any loop, will see with the expected attachment …

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Problem running a loop with a #N/A in the cell

    Or try:

    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)

Similar Threads

  1. [SOLVED] Problem running Excel loop with Userform textboxes and checkboxes
    By dentler in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-20-2017, 01:59 PM
  2. Problem with Macro Only Running one cell at a time
    By boogyman00123 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-26-2014, 02:56 PM
  3. Vlookup problem in a loop with cell property and variable cell problem (long title sry)
    By ExcelsiorLux in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-13-2013, 10:38 AM
  4. Problem running macro when formulas changes cell content.
    By EugeneE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-23-2013, 08:19 PM
  5. Running Loop until Date is entered through appliction.inputbox problem
    By HOT97ECLIPSEGSX in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-21-2010, 07:41 PM
  6. [SOLVED] Problem with Running VBA code on Cell Change
    By Marty in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-18-2005, 12:06 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