k3v12.0精益版注册机

This is Recruit a New VBA Programmer Week, according to Dick Kusleika, so we'd better get moving. I haven't recruited anyone yet, have you?

根据Dick Kusleika的说法,这是招募新的VBA程序员周 ,所以我们最好动起来。 我还没有招人,对吗?

  • If you aren't a VBA programmer already, keep reading, and you can be my victim, errr, willing recruit. Don't be afraid – it won't hurt a bit. Or byte.如果您还不是VBA程序员,请继续阅读,您可以成为我的受害者,errr,愿意接受。 不要害怕-它不会有一点伤害。 或字节。
  • If you are a VBA programmer, just forward this post to a friend or co-worker, and you'll have completed your recruiting responsibilities.如果您是VBA程序员,只需将此帖子转发给朋友或同事,即可完成招聘职责。

VBA入门 (Getting Started With VBA)

If you don't know anything about Excel VBA, where should you start?

如果您对Excel VBA一无所知,应该从哪里开始?

  1. Understand what Excel can do without macros了解Excel在没有宏的情况下可以做什么
  2. Think of a simple, but boring, Excel task that you have to repeat every day考虑一下您每天必须重复执行的简单但无聊的Excel任务
  3. Use the Macro Recorder to automate that simple routine使用宏记录器自动执行该简单例程

Excel可以做什么? (What Can Excel Do?)

Excel can do all kinds of amazing things, without macros. Get to know Excel's built-in features, such as:

Excel无需宏即可完成各种令人惊奇的事情。 了解Excel的内置功能,例如:

  • Conditional Formatting

    条件格式

  • Data Validation

    资料验证

  • Pivot Tables

    数据透视表

  • AutoFilters and Advanced Filters

    自动 过滤器和高级过滤器

If you use those features, you might not need a macro. For example, instead of checking each cell in a column, and colouring it red if it's over $100, use conditional formatting to highlight the cells automatically.

如果使用这些功能,则可能不需要宏。 例如,使用条件格式自动突出显示单元格,而不是检查列中的每个单元格,并在其超过$ 100时将其着色为红色。

识别要自动化的任务 (Identify a Task to Automate)

If you use Excel every day, you probably have a few tasks that you repeat regularly. To get started with Excel VBA, pick one of those tasks, to try and automate it.

如果每天使用Excel,则可能有一些任务需要定期重复执行。 要开始使用Excel VBA,请选择其中一项任务,然后尝试使其自动化。

Maybe you have a list of orders, and every day you filter that list to find orders for a specific product. Here are the steps that you follow every morning:

也许您有一个订单列表,并且每天都过滤该列表以查找特定产品的订单。 以下是每天早晨执行的步骤:

  1. Open the Orders file打开订单文件
  2. Filter the list for Product ABC筛选产品ABC的列表
  3. Copy the Product ABC orders复制产品ABC订单
  4. Create a new workbook创建一个新的工作簿
  5. Paste the Product ABC orders into the new workbook.将产品ABC订单粘贴到新工作簿中。

Instead of doing that task manually every day, you could automate it.

不必每天手动执行该任务,而是可以使其自动化。

准备记录 (Get Ready to Record)

Once you've decide which task to automate, you'll use Excel's Macro Recorder tool to create the VBA code. Before you start recording, get everything into position. For example:

确定要自动化的任务后,将使用Excel的Macro Recorder工具创建VBA代码。 在开始录制之前,请准备好所有内容。 例如:

  • Do you want the macro to open a specific workbook, or will that workbook already be open?您是要宏打开一个特定的工作簿,还是要打开该工作簿?
  • Should you select a cell or worksheet before the macro runs, or will that be part of the macro?您应该在宏运行之前选择一个单元格或工作表,还是将其作为宏的一部分?

In our example, we want the macro to open a workbook for us, then filter and copy, so nothing needs to be open when we start recording.

在我们的示例中,我们希望宏为我们打开一个工作簿,然后进行过滤和复制,因此开始记录时无需打开任何内容。

开始录音 (Start Recording)

Once everything is in position, you can start recording.

一切就绪后,就可以开始录制了。

  1. In the Record Macro dialog box, type a one word name for the macro, e.g. CopyOrdersABC在“记录宏”对话框中,为宏键入一个单词名称,例如,CopyOrdersABC
  2. Select the workbook where you'd like to store the VBA code. In this example we'll store the code in a new workbook. Later, we can open that workbook every morning, to run the macro.选择您要在其中存储VBA代码的工作簿。 在此示例中,我们将代码存储在新的工作簿中。 稍后,我们可以每天早晨打开该工作簿以运行宏。
  3. (optional) Type a brief description of what the macro will do.(可选)键入有关宏将执行的操作的简短描述。
  4. Click OK, to start recording.单击确定,开始录制。

执行宏步骤 (Perform the Macro Steps)

While the Macro Recorder is on, perform the steps that you want to automate. In this example, these are the steps:

宏录制器打开时,执行要自动执行的步骤。 在此示例中,这些步骤是:

  1. Open the Orders file打开订单文件
  2. Filter the list for Product ABC筛选产品ABC的列表
  3. Copy the Product ABC orders复制产品ABC订单
  4. Create a new workbook创建一个新的工作簿
  5. Paste the Product ABC orders into the new workbook.将产品ABC订单粘贴到新工作簿中。

If you mess something up, don't worry about it. You can stop the recording, close files without saving, and start over again.

如果您搞砸了,不要担心。 您可以停止录制,不保存就关闭文件,然后重新开始。

停止录音 (Stop the Recording)

Once you finished all the steps, turn off the Macro Recorder.

完成所有步骤后,关闭宏录制器。

  1. If you stored the macro in a new workbook, save that file (as Excel Macro-Enabled Workbook *.xlsm) , so you can run the macro later.如果您将宏存储在新的工作簿中,请将该文件保存为Excel Macro-Enabled Workbook * .xlsm,以便以后可以运行宏。

准备测试宏 (Get Ready to Test the Macro)

To test the macro, get everything into position again. For example:

要测试宏,请重新放置所有内容。 例如:

  • If you saved the macro in a different file, make sure that workbook is open.如果您将宏保存在另一个文件中,请确保该工作簿处于打开状态。
  • If the macro will open a specific workbook, make sure that workbook is closed.如果宏将打开一个特定的工作簿,请确保该工作簿已关闭。

To run the macro, you can add the Developer tab to the Excel Ribbon, if it's not there already:

要运行该宏,可以将“开发人员”选项卡添加到Excel功能区(如果尚不存在):

  1. Click the Microsoft Office Button, then click Excel Options.单击Microsoft Office按钮,然后单击Excel选项。
  2. Click the Popular category点击热门类别
  3. Add a check mark to Show Developer tab in the Ribbon在功能区中的“显示开发人员”选项卡上添加复选标记
  4. Click OK点击确定

If you haven't run macros before, you might need to change your macro security level. (You might have to clear this with your IT department.)

如果以前没有运行宏,则可能需要更改宏安全级别。 (您可能必须与IT部门联系。)

  1. On the Ribbon, click the Developer tab在功能区上,单击“开发人员”选项卡
  2. In the Code group, click Macro Security.在“代码”组中,单击“宏安全性”。
  3. In the Macro Settings category, under Macro Settings, click Disable all macros with notification在“宏设置”类别的“宏设置”下,单击“禁用所有带通知的宏”。
  4. Click OK.单击确定。
  5. If you changed the setting, close the workbook, then reopen it.如果更改了设置,请关闭工作簿,然后重新打开它。
  6. Then click Enable This Content, to allow the workbook's macros to run.然后单击“启用此内容”,以允许工作簿的宏运行。

测试宏 (Test the Macro)

Now, you can run the macro, to see if it works the way you want.

现在,您可以运行该宏,以查看它是否按照您想要的方式工作。

  1. On the Ribbon, click the Developer tab在功能区上,单击“开发人员”选项卡
  2. in the Code group, click Macros.在“代码”组中,单击“宏”。
  3. In the Macro dialog box, click the macro that you want to run.在宏对话框中,单击要运行的宏。
  4. Click Run.单击运行。

If you get an error message, click the End button, or click Debug, if you're feeling adventurous. A line of code should be highlighted in yellow, and that might give you a clue as to what went wrong.

如果收到错误消息,请在感觉冒险时单击“结束”按钮,或单击“调试”。 一行代码应以黄色突出显示,这可能会给您提供有关错误原因的线索。

If everything went as expected, great!

如果一切都按预期进行,那就太好了!

招聘完成 (Recruitment Completed)

Whether things went right or wrong, congratulations! You created an Excel macro. Consider yourself recruited, and welcome to the wonderful world of Excel programming.

不管事情是对还是错,恭喜! 您创建了一个Excel宏。 考虑自己被招募了,欢迎来到Excel编程的美好世界。

You're on your way to becoming a lean, mean VBA machine.

您正在迈向精简,卑鄙的VBA机器。

观看视频 (Watch the Video)

[updated 2009-Nov-26: Added video tutorial] To see the steps demonstrated, watch this video.

[2009年11月26日更新:添加了视频教程]要观看演示的步骤,请观看此视频。

演示地址

翻译自: https://contexturesblog.com/archives/2009/11/20/lean-mean-vba-machine/

k3v12.0精益版注册机


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

相关文章:

  • 逆向分析某office插件
  • 电脑Healthboost注册机
  • office tab enterprise 14 直装版
  • office和visio不兼容的终极办法(亲测可用)
  • Office 2010注册机
  • linux达芬奇安装教程,在Linux系统中能安装和运行达芬奇DaVinci Resolve 17版本
  • Vector Davinci Developer(RTE) Usage Introduction
  • 交互原型设计软件 Axure RP Pro 5 中文教程
  • JAVA教程(二)之面向对象前基础知识
  • 学习思维导图15条常识
  • Axure详细教程
  • 华为Ascend昇腾CANN详细教程(一)
  • 《Autosar从入门到精通-实战篇》总目录_培训教程持续更新中...
  • 【tinyriscv verilator】分支移植到正点原子达芬奇开发板
  • 多媒体计算机教学硬件技术,多媒体计算机硬件教程
  • M1芯片Mac安装达芬奇17闪退安装不了,怎么办?达芬奇17直装优化版支持big sur/M1芯片处理器 详细的安装教程+中英文设置方法
  • windows系统安装docker版本davinci达芬奇踩坑指南
  • M1芯片已适配达芬奇DaVinci Resolve苹果M1处理器安装新版达芬奇17教程(适配最新M1芯片处理器款mac,支持Big sur )
  • TI达芬奇入门
  • 【Hive】Hive建表基本语法及解释
  • Hive建表时,指定分隔符
  • hive建表后缀
  • 面向对象的需求建模复合技术研究[1]
  • 论文最后的致谢
  • 走进软件与软件项目
  • 基于WEB工作流管理系统的设计与实现
  • 基于面向对象的权限管理系统设计与实现[1]
  • IT项目管理书籍 学习笔记:第一章 项目管理概述
  • SOA精华的内容和实用的知识
  • 经典语句.

k3v12.0精益版注册机_精益均值VBA机相关推荐

  1. 小米鸿蒙os2.0,HarmonyOS 2.0鸿蒙app预约下载-鸿蒙os(手机系统)2.0小米版预约下载_全球下载...

    <华为鸿蒙os2.0小米版>是一款非常的厉害而且强大的手机适配功能的系统软件,在这款软件之中来通过这个系统获得更多的华为的智能化的服务以及帮助,来让国人来感受到国家科技的强大之处.也让更多 ...

  2. 华为堡垒机_运维堡垒机----Gateone

    简介: 运维堡垒机的理念起源于跳板机.2000年左右,高端行业用户为了对运维人员的远程登录进行集中管理,会在机房里部署跳板机.跳板机就是一台服务器,维护人员在维护过程中,首先要统一登录到这台服务器上, ...

  3. 安卓系统刷机怎么刷机_安卓手机刷机教程

    当你觉得手机没有刚买来时那么好用了,当你觉得自带的应用太多了而觉得无用,当你想换个其他的系统来试试,就必须刷机!那么安卓手机刷机教程到底是怎样的呢?下面就给大家介绍一下刷机步骤吧. 安卓手机刷机教程 ...

  4. UltraEdit v18.0 破解版注册机

    转自:http://001.net76.net/ultraedit-v18-0.html ultraEdit是强大的文本编辑器,可以编辑文本,16进制,ASCII 码,比系统自带的记事本强大,而且好用 ...

  5. Zend Studio 10.6.0正式版注册破解

    1. 去官网下载ZendStudio 10.6.0 版本. 2. 注册码License key:15BD3D9635621E3AD4AE0F243B9E76CCFF6383B0E254EF646FD4 ...

  6. 活字格8.0.3.0正式版注册

    活字格 - V8.0 新特性 为了进一步提升工作流的开发效率,强化构建大型复杂项目的能力,葡萄城正式推出活字格企业级低代码开发平台 V8.0 版本. 新版本带来全新的工作流使用体验,基于 BPMn 标 ...

  7. 远程访问堡垒机_如何远程控制堡垒机

    展开全部 这里跟大家一起分享如何使e5a48de588b63231313335323631343130323136353331333366303838用行云管家来对堡垒机.云主机进行远程控制与管理. ...

  8. 请更换备份电池 pos机_电签POS机实力碾压MPOS,请更换手中的蓝牙机!

    说到POS机,从最早的电话线POS机,到现在的无线键盘POS机,中间也是经历了很漫长的演变过程,所谓产品是人心中的灵魂,好的产品就会吸引一大波追随者,科技的最前沿少不了我们诸多人的努力. 最近代理圈大 ...

  9. 安卓系统刷机怎么刷机_安卓手机刷机原理你知道吗?

    很多人都不会刷机,其实刷机很简单,现在网上的刷机软件有很多,只要不是最新出的手机,或者是需要特定流程的手机,刷机都是很简单的一个事情. android刷机和系统ota升级是一样的,系统ota升级使用的 ...

最新文章

  1. 在asp.net2.0下配置FCKeditor
  2. 物理、线性、虚拟、逻辑、有效地址
  3. “Z世代”崛起,网易云信助力猫耳FM引领声音风潮
  4. Javascript 深入学习循环
  5. java 做项目踩坑,web项目踩坑过程
  6. (2021) 24 [持久化] 文件系统API
  7. mysql一个事务多个log_MySQL的两阶段事务提交是否先写binlog再写redolog也可行?
  8. C++14::lambda函数的类型
  9. 使用PDF-XChange Editor为PDF文件添加签名(图片+签名)
  10. deepin和UOS sunpinyin 皮肤添加
  11. 运维 xshell 学习
  12. 积极响应号召,ModStart支持用户主动注销账号功能
  13. 使用Navicat导入“中国5级行政区域mysql库”
  14. Vue中如何引用富文本?富文本又是啥?
  15. 程序员的我是如何抢票的(Python)
  16. android应用数据清理
  17. 运维学习(二):Linux服务器永久修改系统时间和时区方法
  18. 【产品分析】曹操出行
  19. 【云原生】Docker容器详细讲解
  20. 简单vsftpd安装配置和 ftp客户端操作笔记

热门文章

  1. 解决:在python+selenium账号脚本登陆时,使用qq账号密码登陆百度账号出现的问题
  2. 计算机专业实验课,教你如何上好计算机课程的实验课
  3. ABBYY FineReader15下载安装激活及使用常见问题操作技巧
  4. ELM327 蓝牙/WIFI/USB diagnostic interface
  5. Unfolding the Alternating Optimization for Blind Super Resolution
  6. Golang安装及golang.org包的安装
  7. centos6 搭建hdwiki
  8. **超市商品信息管理系统**
  9. 微服务应用大行其道,我提供一个dto和entity转换工具类,方便大家做转换,少写机械代码,多陪陪家人
  10. GreenPlum 安装