PC Review


Reply
Thread Tools Rate Thread

Diasable Fill function

 
 
YY san.
Guest
Posts: n/a
 
      1st Oct 2008
Hi,
I have a macro to disable copy and paste function. However, I realised that
I could still use Fill function(drag and fill) to "copy" the value.
Appreciate if anyone can help me with a macro that will disable the Fill
function.
Thank you so much.

 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      1st Oct 2008
Drag and drop can be turned on/off from the Options dialog (Edit tab)
I recorded a macro and got the code

Sub Macro1()
Application.CellDragAndDrop = False
End Sub

Of course, you should use an event macro to turn this feature back on when
the file is closed.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"YY san." <(E-Mail Removed)> wrote in message
news:CA711AB0-4F03-4CD2-B018-(E-Mail Removed)...
> Hi,
> I have a macro to disable copy and paste function. However, I realised
> that
> I could still use Fill function(drag and fill) to "copy" the value.
> Appreciate if anyone can help me with a macro that will disable the Fill
> function.
> Thank you so much.
>



 
Reply With Quote
 
ShaneDevenshire
Guest
Posts: n/a
 
      1st Oct 2008
Hi,

Don't forget to disable the right-mouse command, and the toolbar buttons,
and the shortcut keys.

--
Thanks,
Shane Devenshire


"YY san." wrote:

> Hi,
> I have a macro to disable copy and paste function. However, I realised that
> I could still use Fill function(drag and fill) to "copy" the value.
> Appreciate if anyone can help me with a macro that will disable the Fill
> function.
> Thank you so much.
>

 
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
is there some *fill* function to fill a string with char c Abubakar Microsoft C# .NET 1 10th Sep 2008 04:21 AM
How do you diasable the UAC in RC2 Rob Korzuch Windows Vista General Discussion 12 11th Oct 2006 01:29 AM
I have a list of data, fill in the gaps. FILL function won't work =?Utf-8?B?VHJpdg==?= Microsoft Excel Misc 1 17th Sep 2005 02:33 PM
basic question about gpo diasable =?Utf-8?B?c3lzdGltYXg=?= Microsoft Windows 2000 Group Policy 3 15th Jun 2005 06:40 PM
Diasable Firewall Windows XP Setup 3 14th May 2004 02:18 PM


Features
 

Advertising
 

Newsgroups
 


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