Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Prevent user from copying pasting at run time

I am using the Visual Basic Office Excel Workbook in Visual Studio
2005.

I am placing validations using the Data - Validation menu of excel.
These validations work fine when I type something in the given cell and
tab out, but the validation errors do not display when I copy paste
from another cell, also the properties of the cell from which I copy
pasted gets set to the target cell.
The application allows the user to copy paste in the excel but should
display validation error messages in case of a violation of validation.
There are around 100 columns that need to be validated in terms of
length of the text in a given column; whether only date,number,text can
be entered in a given column and so on.

Also how can i disable the menu options at runtime

Any suggestions in this regards will be extremely helpful.
Eagerly waiting for a response.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent user from copying contents of a worksheet Chuck M Excel Discussion (Misc queries) 2 August 28th 08 02:28 AM
prevent changes to cell references when copying and pasting MiChaos Excel Discussion (Misc queries) 2 July 3rd 07 04:21 PM
Prevent Pasting Paige Excel Programming 0 February 16th 05 07:31 PM
prevent pasting into multiple lines Bart van den Burg Excel Programming 1 November 25th 04 01:09 AM
Help with copying and pasting from user input KimberlyC Excel Programming 2 April 4th 04 02:22 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"