ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Double Click Jump (https://www.excelbanter.com/excel-programming/408173-double-click-jump.html)

Wes

Double Click Jump
 
Hi, I've written some code that toggles the contents of a cell from a checked
box to an empty box. This works great unless the user accidentally clicks on
the edge of the cell. If the user does this, it jumps to the end of the
range of cells containing the boxes. I know this is a function of excel
which is supposed to be handy, but is there a way to stop this from
happening? (Is there a "click on the edge of a cell" event?

Also, is it possilble to change the mouse pointer to be a pointer while over
certain cells instead of being the big plus symbol?

Thanks in advance for your help.

Wes

Dick Kusleika[_4_]

Double Click Jump
 
On Sat, 22 Mar 2008 12:45:01 -0700, Wes
wrote:

Hi, I've written some code that toggles the contents of a cell from a checked
box to an empty box. This works great unless the user accidentally clicks on
the edge of the cell. If the user does this, it jumps to the end of the
range of cells containing the boxes. I know this is a function of excel
which is supposed to be handy, but is there a way to stop this from
happening? (Is there a "click on the edge of a cell" event?

Also, is it possilble to change the mouse pointer to be a pointer while over
certain cells instead of being the big plus symbol?


You can change Application.CellDragAndDrop to False while your workbook is
showing. Just be sure to set it back to what it was when you're workbook
loses the focus.
--
Dick Kusleika
Microsoft MVP-Excel
http://www.dailydoseofexcel.com

Wes

Double Click Jump
 
Finally got back to my project.

Thanks very much This worked PERFECT!!!


"Dick Kusleika" wrote:

On Sat, 22 Mar 2008 12:45:01 -0700, Wes
wrote:

Hi, I've written some code that toggles the contents of a cell from a checked
box to an empty box. This works great unless the user accidentally clicks on
the edge of the cell. If the user does this, it jumps to the end of the
range of cells containing the boxes. I know this is a function of excel
which is supposed to be handy, but is there a way to stop this from
happening? (Is there a "click on the edge of a cell" event?

Also, is it possilble to change the mouse pointer to be a pointer while over
certain cells instead of being the big plus symbol?


You can change Application.CellDragAndDrop to False while your workbook is
showing. Just be sure to set it back to what it was when you're workbook
loses the focus.
--
Dick Kusleika
Microsoft MVP-Excel
http://www.dailydoseofexcel.com



All times are GMT +1. The time now is 02:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com