+ Reply to Thread
Results 1 to 5 of 5

Next empty cell from found cell

  1. #1
    Forum Contributor
    Join Date
    02-16-2012
    Location
    London, England
    MS-Off Ver
    Excel mac 2011
    Posts
    238

    Next empty cell from found cell

    Hi there,

    In this spreadsheet, I am using "Find" to find a part number, which are in rows, and assigning it to a variable and I want to find the next cell in that row. I can find a cell from a known cell like this:
    Please Login or Register  to view this content.
    But on this occasion I am using my search variable. I tried this:
    Please Login or Register  to view this content.
    But of course it doesn't work.

    "BatchSearch" is just a variable that is assigned as Range and returns a cell address. Can someone give me the correct syntax for this, or show me a better way to do it.

    Kind regards
    Rob

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Next empty cell from found cell

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-16-2012
    Location
    London, England
    MS-Off Ver
    Excel mac 2011
    Posts
    238

    Re: Next empty cell from found cell

    Absolutely spot on, thank you so much, this has been plaguing me for hours!

    Cheers
    Rob

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

    Re: Next empty cell from found cell

    Perhaps.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Next empty cell from found cell

    You're welcome. Glad to help out and thanks for the feedback.

+ 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] Paste formula to the last empty cell based on a non-empty cell on another column
    By bhenlee in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-02-2015, 04:07 PM
  2. [SOLVED] Match Data and Run Until an empty cell is found
    By trevor2524 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2014, 10:57 AM
  3. Delete row when empty cell found in column
    By jillstone69 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2010, 12:28 PM
  4. How to create a range by going down a column until an empty cell is found
    By jrdickerson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-22-2009, 01:25 PM
  5. Vlookup, return empty cell (not #N/A) when result not found
    By haitham1984 in forum Excel General
    Replies: 4
    Last Post: 11-03-2008, 03:15 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