ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Inhibiting Moving Cells without loosing Autofill (https://www.excelbanter.com/excel-programming/325645-inhibiting-moving-cells-without-loosing-autofill.html)

Duncan

Inhibiting Moving Cells without loosing Autofill
 
I need to prevent my Users from physically moving a cell. As you may know,
when you hover on the edge (not the corner) of a cell, you get the
xlNorthWestArrow cursor, and you can drag the cell selected to, say, its
adjacent neighbor. This action actually moves the cell, not just its contents
(name it, and watch). This is different from autofill, which only moves the
value. Setting draganddrop to false inhibits BOTH behaviors, and I have found
no other way catch just the cell move. I'm not adverse to some tricky code,
but I can't seem to find any properties or methods I could use to determine
this condition. Any suggestions?


All times are GMT +1. The time now is 05:03 PM.

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