When Excel data presentation method for data check

       In recent work, often encounter customers reflect bulk import data, import data prompted error, not very easy to locate specific data columns of those rows that an error has occurred.

       So the company organized a special meeting to discuss the topic, brainstorming want to solve the problem. A colleague made a VS2012 with a plug-in to do after installation will be displayed in the Excel file, you can use this

Plug-in for Excel data be verified, and the error row and specific data items appear be marked for easy user positioning error. For the B / S structure of the system can indeed do it better solve this problem. but

If C / S architecture procedure, we can import Excel, direct verification of the data, and then error data also marked introduced in a similar manner in Excel. This can also achieve the same effects

Fruit, but also do not allow users to install plug-ins.

       By introducing the template may be provided to the user, the script added VBA, and then connect the webservice imported data can be verified stencil can achieve the same effect, but requires the user to open Excel

When you import a template, you have set the security attributes are allowed to run the macro templates.

       Our normal practice is to import validation of local errors pop-up message prompts, such as a row of a column of data validation error occurred, but if the defect is more erroneous data, the prompt and informative

And inconvenience users to find, not intuitive.

       In summary, the above methods, we should be used according to the actual situation. The simplest approach is to directly prompted by Message, carried out by the plug, then will have to consider the actual situation of whether to allow installation of plug-ins,

By VBA users will have to set the appropriate security attributes, will influence the user's system security, it will increase the workload to deal directly with the development of the system.

 

 

Reproduced in: https: //www.cnblogs.com/kevinGao/archive/2013/02/28/2939722.html

Guess you like

Origin blog.csdn.net/weixin_33994444/article/details/93052241