Note that there are some explanatory texts on larger screens.

plurals
  1. POExcel - tactics for complex validation
    primarykey
    data
    text
    <p>I seem to have a dilemma. I have an EXCEL 2003 template which users should use to fill in tabular information. I have validations on various cells and each row undergoes a rather complex VBA validation upon change and selection_change events. The sheet is protected to disallow formatting activities, insert and delete of rows and columns, etc.</p> <p>As long as users fill in the table row by row, all works pretty fine. Things get worse if I want to allow user to copy/paste data into that sheet (which is a legitimate user demand in this case), because cell validation would disallow paste actions.</p> <p>So I tried to allow users to turn off protection and cut/paste, a VBA marks the sheet to indicate the fact that it contains unvalidated entries. I have created a "batch validation" that validates all non-empty rows at once. Still copy/paste doesn't work too well (must directly jump from source sheet to destination, cannot paste from text files, etc.) </p> <p>Cell Validation is also not good from the point of inserting rows, because depending on where you insert the row, cell validation may be missing completely. And if I copy cell validations down to row 65k the empty sheet gets over 2M in size - another most unwanted side effect.</p> <p>So I thought one way to circumvent troubles would be to forget about cell validation alltogether and use only VBA. Then I would sacrifice user comfort of providing drop-down lists in some columns - some of which change as a function of entries in other columns, too.</p> <p>Has anyone been in the same situation before and can give me some (generic) tactical advises (coding VBA is not a problem)?</p> <p>Kind regards MikeD</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload