+ Reply to Thread
Results 1 to 2 of 2

Thread: Active Cell & Data Validation question

  1. #1
    michael
    Guest

    Active Cell & Data Validation question

    I am using the code below to move the active cell one row down after
    making a selection from a data validation list...

    '-------------------------------------------------------------------------

    Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As
    Range)
    If ActiveCell.Validation.Type = xlValidateList Then
    ActiveCell.Offset(1, 0).Activate
    End If
    End Sub


    '-------------------------------------------------------------------------


    The problem I have is when I enter a value into a cell with data
    validation other than list (decimal or whole number) that is above a
    cell with a data validation list, the active cell moves 2 rows down.

    Are there any ideas on how to force the active cell to the row
    immediately below?

    Thank you in advance.

    -M


  2. #2
    Bob Phillips
    Guest

    Re: Active Cell & Data Validation question

    Check Tools>Options>Edit and see if the Move direction after Enter checkbox
    is ticked.

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "michael" <mcastellano@gmail.com> wrote in message
    news:1149034270.155600.222550@y43g2000cwc.googlegroups.com...
    > I am using the code below to move the active cell one row down after
    > making a selection from a data validation list...
    >
    > '-------------------------------------------------------------------------
    >
    > Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As
    > Range)
    > If ActiveCell.Validation.Type = xlValidateList Then
    > ActiveCell.Offset(1, 0).Activate
    > End If
    > End Sub
    >
    >
    > '-------------------------------------------------------------------------
    >
    >
    > The problem I have is when I enter a value into a cell with data
    > validation other than list (decimal or whole number) that is above a
    > cell with a data validation list, the active cell moves 2 rows down.
    >
    > Are there any ideas on how to force the active cell to the row
    > immediately below?
    >
    > Thank you in advance.
    >
    > -M
    >




+ 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.2.0