+ Reply to Thread
Results 1 to 2 of 2

double click and move over

  1. #1
    mark kubicki
    Guest

    double click and move over

    what would be the code to do something when the user double clicks a cell,
    and THEN MOVE THE SELECTION TO THE NEXT CELL (left or down...t.b.d.) -as
    part of the function

    i got the do something on double click
    but not the "exit that cell and go somewhere else" part
    ....(the function gets hung-up in edit mode)

    ....thanks in advance
    -mark



  2. #2
    Ron de Bruin
    Guest

    Re: double click and move over

    Use this event in the sheet module

    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
    Target.Offset(0, 1).Select
    End Sub

    See the help for Offset

    --
    Regards Ron de Bruin
    http://www.rondebruin.nl


    "mark kubicki" <[email protected]> wrote in message news:[email protected]...
    > what would be the code to do something when the user double clicks a cell,
    > and THEN MOVE THE SELECTION TO THE NEXT CELL (left or down...t.b.d.) -as
    > part of the function
    >
    > i got the do something on double click
    > but not the "exit that cell and go somewhere else" part
    > ...(the function gets hung-up in edit mode)
    >
    > ...thanks in advance
    > -mark
    >
    >




+ 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