+ Reply to Thread
Results 1 to 2 of 2

Function to Find a cell with a certain property set

  1. #1
    Registered User
    Join Date
    04-28-2016
    Location
    Atlanta, GA
    MS-Off Ver
    Office Pro 2016
    Posts
    12

    Function to Find a cell with a certain property set

    I need a function that will allow me to find the next cell in a range with a certain .borders property set. The problem is, I only know how to do it with a for/next loop where it selects the cell, examines it, and then evaluates it as pass/fail before moving on, and selecting a cell in that range would trigger a userform to open.

    So example:
    exampleCell.PNG

    I'm on B26 and I would want to jump to B32 because it has the .borders set to vbRed or xlMedium or whatever.

    How can I do this without using select?

    Thanks for your help, you guys have always been helpful.

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Function to Find a cell with a certain property set

    Hi
    is this what you are after? It searches the specified range for a cell below the active cell with a particular property and gives a message box identifying the cell and asking whether the user wants to select it.


    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] Find Property of Worksheet Function Class
    By DanBlum in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2014, 09:08 AM
  2. [SOLVED] VBA property for =find()
    By kemit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2014, 06:19 AM
  3. [SOLVED] Find Address Property of Last Cell in contiguous data
    By brownie3003 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-04-2013, 08:20 AM
  4. help with .Find property
    By xzyragon in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-04-2012, 04:30 PM
  5. Clear Function Resets Cell Lock Property
    By Melon00 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2011, 10:48 PM
  6. VBA Code For OR-Function Using Cell Property
    By kylie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2006, 01:30 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