PC Review


Reply
Thread Tools Rate Thread

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

 
 
CAPTGNVR
Guest
Posts: n/a
 
      24th Feb 2007
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.

 
Reply With Quote
 
 
 
 
Tom Ogilvy
Guest
Posts: n/a
 
      24th Feb 2007
Application.CellDragAndDrop = False

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

--
Regards,
Tom Ogilvy

"CAPTGNVR" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>



 
Reply With Quote
 
CAPTGNVR
Guest
Posts: n/a
 
      24th Feb 2007

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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
highlight and drag? jfh14 Microsoft Excel Misc 1 9th Oct 2008 04:50 PM
Drag to Highlight Eric Roberts Windows Vista Mail 4 10th May 2007 05:41 PM
Disable drag and drop and cut and paste =?Utf-8?B?U3RlZWxEZXRhaWxlcg==?= Microsoft Excel Programming 0 8th Jun 2006 07:59 PM
Disable Cut, Paste, Drag & Drop in Protected Workbook =?Utf-8?B?QW5kcmV3IFN0ZXZlbnM=?= Microsoft Excel Programming 4 6th Dec 2005 03:42 PM
Drag and Drop Highlight gjc Microsoft VB .NET 1 31st Oct 2005 02:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:51 AM.