+ Reply to Thread
Results 1 to 4 of 4

VBA: If ActiveCell is not in range(d:d), go to cell D2

  1. #1
    Forum Contributor
    Join Date
    01-06-2011
    Location
    cleveland
    MS-Off Ver
    Excel 2007
    Posts
    225

    VBA: If ActiveCell is not in range(d:d), go to cell D2

    every example i am finding on the internet is for way more complicated process and i cannot decipher the code that i need to use for this purpose, but what i am trying to do is have VBA select cell D2 if the activecell is not within the range D:D, otherwise leave the activecell alone.

    could anyone please point me in the correct direction?

  2. #2
    Forum Contributor
    Join Date
    01-06-2011
    Location
    cleveland
    MS-Off Ver
    Excel 2007
    Posts
    225

    Re: VBA: If ActiveCell is not in range(d:d), go to cell D2

    Please Login or Register  to view this content.
    it figures i am able to figure it out shortly after posting the question. in the 30 minutes i am trying to work on it independently i get nowhere but 5 seconds after i hit submit it comes to me

  3. #3
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: VBA: If ActiveCell is not in range(d:d), go to cell D2

    How about:

    Please Login or Register  to view this content.
    Gary's Student

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

    Re: VBA: If ActiveCell is not in range(d:d), go to cell D2

    Maybe these?

    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