ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   HOW TO DISABLE CUT N PASTE OR HIGHLIGHT N DRAG IN VB (https://www.excelbanter.com/excel-programming/383875-how-disable-cut-n-paste-highlight-n-drag-vbulletin.html)

CAPTGNVR

HOW TO DISABLE CUT N PASTE OR HIGHLIGHT N DRAG IN VB
 
DEAR ALL, in the program I made, i have one sheet which has links to
other sheets which I send to the office. But due to users choice,
sometimes instead of copying the data, they drag and paste. Hence the
links in the company sheet goes off. Can you pls advice how to disable
this drag feature, cut and paste feature and enable only copy and
paste in VB. This particular section of the user is not locked and
for data entry. Last 3 days to go on the ship for me. No time to
study n find out.Pls advice.


Tom Ogilvy

HOW TO DISABLE CUT N PASTE OR HIGHLIGHT N DRAG IN VB
 
Application.CellDragAndDrop = False

is the equivalent of manually doing Tools=Options=Edit Tab and unchecking
allow drag and drop

--
Regards,
Tom Ogilvy

"CAPTGNVR" wrote in message
ups.com...
DEAR ALL, in the program I made, i have one sheet which has links to
other sheets which I send to the office. But due to users choice,
sometimes instead of copying the data, they drag and paste. Hence the
links in the company sheet goes off. Can you pls advice how to disable
this drag feature, cut and paste feature and enable only copy and
paste in VB. This particular section of the user is not locked and
for data entry. Last 3 days to go on the ship for me. No time to
study n find out.Pls advice.




CAPTGNVR

HOW TO DISABLE CUT N PASTE OR HIGHLIGHT N DRAG IN VB
 

Tom Ogilvy wrote:
Application.CellDragAndDrop = False

is the equivalent of manually doing Tools=Options=Edit Tab and unchecking
allow drag and drop

--
Regards,
Tom Ogilvy

"CAPTGNVR" wrote in message
ups.com...
DEAR ALL, in the program I made, i have one sheet which has links to
other sheets which I send to the office. But due to users choice,
sometimes instead of copying the data, they drag and paste. Hence the
links in the company sheet goes off. Can you pls advice how to disable
this drag feature, cut and paste feature and enable only copy and
paste in VB. This particular section of the user is not locked and
for data entry. Last 3 days to go on the ship for me. No time to
study n find out.Pls advice.


Thank u Tom. I did get some clues from ur guidance. I was not clear
in my post. What I want is to lock this drag n drop for a named range
only thro VB. for ex: b20.aa80.



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

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