How can you make it easy for people to enter and edit data in Excel, but keep them away from the data storage worksheet?

如何使人们在Excel中输入和编辑数据变得容易,却又远离数据存储工作表?

Last year, I posted a Worksheet Data Entry Form in Excel, where users could enter and view Excel data. It was based on a worksheet data entry form that Dave Peterson created.

去年,我在Excel中发布了工作表数据输入表单 ,用户可以在其中输入和查看Excel数据。 它基于Dave Peterson创建的工作表数据输入表单。

I've created a new version, where users can enter, view and edit the Excel data.

我创建了一个新版本,用户可以在其中输入,查看和编辑Excel数据。

版本1:添加新记录 (Version 1: Add New Records)

In Dave's original worksheet data entry form, users could add records on the data entry worksheet, and click a button to go to the database sheet, and review or edit the order records.

在Dave的原始工作表数据输入表单中 ,用户可以在数据输入工作表上添加记录,然后单击一个按钮转到数据库表,然后查看或编辑订单记录。

版本2:查看现有记录 (Version 2: View Existing Records)

In version 2, I added a few buttons to Dave's workbook, to allow users to scroll through the existing records. With the navigation buttons, you could go to the first, previous, next or last record, or type a record number, to go to a specific record.

在版本2中,我在Dave的工作簿中添加了一些按钮,以允许用户滚动浏览现有记录。 使用导航按钮,您可以转到第一条记录,上一条记录,下一条记录或最后一条记录,或者键入记录编号以转到特定记录。

版本3:更新现有记录 (Version 3: Update Existing Records)

In the latest version of the Excel Worksheet Data Entry form, I've added an update feature. As in the previous version, there are data validation drop down lists, to select Item and Location. The Price calculation is based on a VLOOKUP formula, and the Total formula multiplies the quantity by the price.

在最新版本的Excel工作表数据输入表单中,我添加了更新功能。 与以前的版本一样,还有数据验证下拉列表 ,用于选择项目和位置。 “价格”计算基于VLOOKUP公式 ,“总计”公式将数量乘以价格。

After you select a record, you can change its data, then click the Update button to copy those changes to the database.

选择记录后,可以更改其数据,然后单击“更新”按钮将这些更改复制到数据库。

For example, in the record shown above, if you discovered that there was an error, you could change the quantity from 500 to 200. The Total formula would automatically recalculate, to show the new total of $200.00.

例如,在上面显示的记录中,如果发现有错误,可以将数量从500更改为200。Total公式将自动重新计算,以显示新的总计$ 200.00。

Then, click the Update button, and the revised quantity and total would appear in that record on the database sheet.

然后,单击“更新”按钮,修订的数量和总数将显示在数据库表的该记录中。

更新代码 (The Update Code)

Before updating the database record, the Update code checks to see of all the data entry cells are filled in. If they aren't, a warning message appears, and the macro stops running. This prevents you from accidentally overwriting an existing record with blank cells.

在更新数据库记录之前,更新代码将检查是否已填写所有数据输入单元。如果没有,则会显示警告消息,并且宏将停止运行。 这样可以防止您意外地用空白单元格覆盖现有记录。

If all the data entry cells are filled in, the code:

如果所有数据输入单元均已填写,则代码:

  • writes the current date and time in the applicable row of the database将当前日期和时间写入数据库的适用行
  • adds the User Name from the Excel application从Excel应用程序添加用户名
  • copies the data to the database将数据复制到数据库
  • clears the data entry cells清除数据输入单元

Then, with a cleared data entry sheet, you can go on to add, view and edit other records, or save and close the workbook.

然后,使用已清除的数据输入表,您可以继续添加,查看和编辑其他记录,或者保存并关闭工作簿。

下载样本文件 (Download the Sample File)

The zipped sample workbook, in Excel 2003 format, can be downloaded from the Contextures website: Worksheet Data Entry Form ___________

可以从Contextures网站上下载Excel 2003格式的压缩示例工作簿: 工作表数据输入表 ___________

翻译自: https://contexturesblog.com/archives/2010/03/14/edit-records-in-excel-worksheet-data-entry-form/


http://www.taodudu.cc/news/show-6450855.html

相关文章:

  • 系统设计遇见的问题
  • 设计要解决什么问题?
  • 关于设计思维
  • 面试:系统设计问题
  • #设计思维# 设计思维如何解决创新挑战
  • 服务设计要解决的问题
  • 我们在设计类时应该注意的问题
  • 设计问题
  • 常见的系统设计问题以及思路
  • 关于当前设计的问题
  • 设计的意义是解决问题
  • 设计阶段的考虑问题
  • 源于生活的设计之一:职责问题
  • 设计原则与思想
  • 设计技术实现方案时,需要考虑的一些问题
  • Leetcode 初级算法 - 设计问题
  • 网页设计常见问题
  • 设计模式怎样解决设计问题
  • 程序员常用单词汇总
  • JAVA常用单词汇总
  • 记常用到的单词
  • C语言集锦(一) C代码生成图片:BMP、PNG和JPEG
  • 字符串的压缩(c语言描述)
  • [小项目]手把手教你C语言哈夫曼压缩/解压缩
  • c语言字符串压缩
  • C语言--压缩字符串
  • C语言实现BMP图片的放大缩小-24位
  • 用C语言压缩字符串
  • 纯C实现的JPEG压缩算法
  • C语言实现字符串压缩

在Excel工作表数据输入表单中编辑记录相关推荐

  1. excel数据表单_Excel中的工作表数据输入表单

    excel数据表单 With a bit of programming, you can make it easy for users to enter data in an Excel workbo ...

  2. excel数据输入窗体控件_工作表数据输入或Excel用户窗体

    excel数据输入窗体控件 If you're building an Excel workbook, in which users with basic Excel skills will ente ...

  3. excel数据表单_新的改进的Excel数据输入表单

    excel数据表单 Many moons ago, Dave Peterson created a sample Excel worksheet data entry form and kindly ...

  4. php怎么做数据透视表,sql上使用excel表格数据透视表-会excel基本函数和数据透视表,加基本的SQL增删改......

    excel 数据透视表 sql语句 对空值的处理方法 比如你有个工,工作簿中有2个工作表,一个为.一个为消耗. 字段为: 代码 存货名称 采购金额 存货代码 存货名称 消耗金额 1.在任意一个工作表中 ...

  5. Excel 图表与数据透视表制作

    目录 数据分析基础技能之图表 常见图表与形状 制作简单图表 数据分析基础技能之数据透视表 制作数据透视表 数据透视表之分页(多工作表)显示 数据透视表之切片器 数据透视表之报表联接 数据透视表之日程表 ...

  6. 按英语体育计算机创建透视表,数据透视表和数据透视图概述

    可使用数据透视表汇总.分析.浏览和呈现汇总数据. 数据透视图通过对数据透视表中的汇总数据添加可视化效果来对其进行补充,以便用户轻松查看比较.模式和趋势. 借助数据透视表和数据透视图,用户可对企业中的关 ...

  7. 认识Import表-PE输入表说明

    认识Import表-PE输入表说明 有很多介绍PE文件的文章,但是我打算写一篇关于输入表的文章,因为它对于破解很有用.     我想解释它的最好的方法是举一个例子,你可以跟着我逐步深入,一步一步的思考 ...

  8. SQL达梦数据库复制表数据和表结构[当前模式下]

    达梦数据库复制表数据和表结构sql: 语法:create table 新表表名 as select * from 老表表名 示例: create table "SZFMIMP".& ...

  9. html 表格自动计算,JS实现相仿excel的表格数据输入,并自动计算的页面

    JS实现类似excel的表格数据输入,并自动计算的页面 JS实现类似excel的表格数据输入,并自动计算的页面 分享到: ------解决方案-------------------- 这个需要自己写函 ...

最新文章

  1. DiscuzNT 商品交易插件设计之[线下交易流程]
  2. 马斯克Neuralink联合创始人宣布离职,此前尚未推出上市产品
  3. (原創) 如何使用C++/CLI读/写jpg檔? (.NET) (C++/CLI) (GDI+) (C/C++) (Image Processing)
  4. STL源码剖析 Set相关算法 并集 set_union|交集 set_intersection|差集 set_difference |对称差集 set_symmetric_difference
  5. python需要配置环境变量吗_python安装和配置环境变量
  6. Asp.net导出Excel报表(解决无网格问题)
  7. Java JDK文档下载
  8. fat32文件系统详细介绍_文件系统介绍
  9. abb机器人searchl报错_ABB机器人常用指令介绍——ABB机器人
  10. 解决VS2013 对话框界面编程Caption中文乱码办法
  11. 新能源汽车厂四大派系
  12. 问题在新浪:新浪微博注销后,为什么还保存着我的资料?
  13. 【干货】旺季营销婚纱摄影行业这么做广告,转化效果能提高50%!
  14. 百度网盘如何在线播放电影?
  15. 软件------关于spacedesk分屏软件的使用说明(包括下载和具体启动方式)
  16. 文件——创建文件并写入内容
  17. 2022.03全国青少年软件编程(图形化)等级考试试卷(三级)
  18. 《算法第一步》出版啦!
  19. PHICH介绍(1)
  20. 聊天机器人:问答系统类型介绍

热门文章

  1. 模拟CMOS集成电路设计入门学习(3)
  2. C++练手小项目:职工工资信息管理系统
  3. 根据IP获取坐标(经纬度)
  4. CODE 薄膜分析设计软件
  5. HTML5实现简易计算器
  6. 【SPSS】两独立样本T检验分析详细操作教程(附案例实战)
  7. UVa 375 内接圆和等腰三角形
  8. HTML5 拖放(Drag 和 Drop)简介
  9. android按钮中添加图标,android 控件 带图标的按钮(ImageButton)
  10. 实操qq群排名技术半小时全国各地区排名第一