当前位置: 首页 > news >正文

南宁做网站的公司有哪些公司网站推广方案

南宁做网站的公司有哪些,公司网站推广方案,怎么做公司网站推广,电子创意设计网站一、宏是什么? EXCEL MACRO 是一种记录和播放工具,它仅记录您的 Excel 步骤,并且宏将根据需要播放任意多次。 VBA 宏可自动执行重复任务,从而节省了时间。 这是一段可在 Excel 环境中运行的编程代码,但您无需成为编码…

一、宏是什么?

EXCEL MACRO 是一种记录和播放工具,它仅记录您的 Excel 步骤,并且宏将根据需要播放任意多次。 VBA 宏可自动执行重复任务,从而节省了时间。 这是一段可在 Excel 环境中运行的编程代码,但您无需成为编码器即可对宏进行编程。 但是,您需要 VBA 的基础知识才能在宏中进行高级修改。

作为人类,我们是习惯的产物。 我们每天每个工作日都会做某些事情。 如果有某种神奇的方法可以按一个按钮并且完成了我们所有的例行任务,这会更好吗? 我能听到你说是的。 宏可以帮助您实现这一目标。 用外行语言来说,宏定义为您在 Excel 中的常规步骤的记录,您可以使用单个按钮进行重放。

例如,您正在作为自来水公司的出纳员。 一些客户通过银行付款,最终,您需要从银行下载数据并以符合业务需求的方式对其进行格式化。

您可以将数据导入 Excel 和格式。 第二天,您将需要执行相同的仪式。 它将很快变得无聊和乏味。 宏通过自动执行此类常规任务解决了此类问题。 您可以使用宏来记录以下步骤

  • 导入数据
  • 对其进行格式化以满足您的业务报告要求。

二、VBA是什么

VBA 是 Visual Basic for Applications 的缩写。 这是一种编程语言,Excel 在执行日常任务时会使用它来记录您的步骤。 您无需成为程序员或技术人员就可以享受 Excel 中宏的好处。 Excel 具有自动为您生成源代码的功能。 阅读有关 Vba 的文章以了解更多详细信息。

宏是开发人员功能之一。 默认情况下,开发人员选项卡不显示在 excel 中。 您需要通过自定义报告显示它

攻击者可以使用宏来破坏您的系统。 默认情况下,它们在 excel 中被禁用。 如果需要运行宏,则将需要启用运行宏,并且仅运行您知道来自受信任来源的宏

如果要保存宏,则必须将工作簿保存为启用宏的格式* .xlsm

宏名称不得包含任何空格。

创建宏时,请务必填写宏的描述。 这将帮助您和其他人了解宏在做什么。

我们将使用宏 excel 重要性中描述的方案进行工作。 我们将使用以下 CSV 文件。

Introduction to Macros in Excel

您可以在此处下载以上文件

我们将创建一个启用宏的模板,该模板将导入上述数据并对其进行格式化,以满足我们的业务报告要求。

## 启用开发者选项

要执行 VBA 程序,您必须有权访问 Excel 中的开发人员选项。 如下所示启用开发人员选项,然后将其固定到 Excel 中的主要功能区。

步骤 1)转到主菜单“文件”

选择选项“选项”。

How to Write Macros in Excel

What is VBA?

步骤 2)现在将打开另一个窗口,在该窗口中执行以下操作

  • 单击自定义功能区
  • 将复选框标记为开发人员选项
  • 点击确定按钮

How to Write Macros in Excel

步骤 3)开发人员标签

现在,您将能够在功能区中看到“开发人员”选项卡

How to Write Macros in Excel

步骤 4)下载 CSV

首先,我们将看到如何在电子表格上创建命令按钮并执行程序。

  • 在驱动器 C 中创建一个名为 Bank Receipts 的文件夹
  • 粘贴您下载的 receives.csv 文件

How to Write Macros in Excel

步骤 5)记录宏

  1. 单击开发人员选项卡
  2. 单击记录宏,如下图所示

How to Write Macros in Excel

您将获得以下对话窗口

Introduction to Macros in Excel

  1. 输入 ImportBankReceipts 作为宏名称。
  2. 第二步将默认存在
  3. 输入说明,如上图所示
  4. 点击“确定”标签

步骤 6)执行您要记录的宏操作/步骤

  • 将光标放在单元格 A1 中
  • 单击数据选项卡
  • 单击“获取外部数据”功能区栏上的“来自文本”按钮

You will get the following dialogue window

How to Write Macros in Excel

  1. 转到存储 CSV 文件的本地驱动器
  2. 选择 CSV 文件
  3. 点击导入按钮

您将获得以下向导

Introduction to Macros in Excel

完成上述步骤后,单击“下一步”按钮

Introduction to Macros in Excel

请按照上述步骤操作,然后单击下一步按钮

Introduction to Macros in Excel

  • 点击完成按钮
  • 您的工作簿现在应如下所示

Introduction to Macros in Excel

步骤 7)格式化数据

将列设为粗体,添加总计,然后使用 SUM 函数获取总计。

How to Write Macros in Excel

步骤 8)停止录制宏

现在我们已经完成了日常工作,我们可以单击停止录制宏按钮,如下图所示

How to Write Macros in Excel

步骤 9)重播宏

在保存工作簿之前,我们将需要删除导入的数据。 我们将执行此操作以创建一个模板,该模板将在每次我们有新的收据并要运行 ImportBankReceipts 宏时复制。

  • 突出显示所有导入的数据
  • 右键单击突出显示的数据
  • 点击删除
  • 单击另存为按钮
  • 将工作簿保存为启用宏的格式,如下所示

How to Write Macros in Excel

  • 复制新保存的模板
  • 打开它
  • 单击开发人员选项卡
  • 单击宏按钮

You will get the following dialogue window

Introduction to Macros in Excel

  1. 选择 ImportBankReceipts
  2. 突出显示您的宏的描述
  3. 点击运行按钮

您将获得以下数据

Introduction to Macros in Excel

恭喜,您刚刚在 excel 中创建了第一个宏。

​​​​​​​三、总结

宏通过使我们执行的大多数日常工作自动化来简化我们的工作生活。 Excel 中的宏由 Visual Basic for Applications 驱动。

To execute VBA program, you have to have access to developer option in Excel. Enable the developer option as shown below and pin it into your main ribbon in Excel.

**Step 1)**Go to main menu "FILE"

Select option "Options."

How to Write Macros in Excel

What is VBA?

**Step 1)**Go to main menu "FILE"

Select option "Options."

Step 2) Now another window will open, in that window do following things

  • 单击自定义功能区
  • 将复选框标记为开发人员选项
  • 点击确定按钮

How to Write Macros in Excel

Step 2) Now another window will open, in that window do following things

  • 单击自定义功能区
  • 将复选框标记为开发人员选项
  • 点击确定按钮

Step 3) Developer Tab

You will now be able to see the DEVELOPER tab in the ribbon

How to Write Macros in Excel

Step 3) Developer Tab

You will now be able to see the DEVELOPER tab in the ribbon

Step 4) Download CSV

First, we will see how we can create a command button on the spreadsheet and execute the program.

  • 在驱动器 C 中创建一个名为 Bank Receipts 的文件夹
  • 粘贴您下载的 receives.csv 文件

How to Write Macros in Excel

Step 4) Download CSV

First, we will see how we can create a command button on the spreadsheet and execute the program.

Step 5) Record Macro

  1. 单击开发人员选项卡
  2. 单击记录宏,如下图所示

How to Write Macros in Excel

You will get the following dialogue window

Introduction to Macros in Excel

  1. 输入 ImportBankReceipts 作为宏名称。
  2. 第二步将默认存在
  3. 输入说明,如上图所示
  4. 点击“确定”标签

Step 5) Record Macro

  1. 单击开发人员选项卡
  2. 单击记录宏,如下图所示

Step 6) Perform Macro Operations/Steps you want to record

  • 将光标放在单元格 A1 中
  • 单击数据选项卡
  • 单击“获取外部数据”功能区栏上的“来自文本”按钮

You will get the following dialogue window

How to Write Macros in Excel

  1. 转到存储 CSV 文件的本地驱动器
  2. 选择 CSV 文件
  3. 点击导入按钮

You will get the following wizard

Introduction to Macros in Excel

Click on Next button after following the above steps

Introduction to Macros in Excel

Follow the above steps and click on next button

Introduction to Macros in Excel

  • 点击完成按钮
  • 您的工作簿现在应如下所示

Introduction to Macros in Excel

Step 6) Perform Macro Operations/Steps you want to record

  • 将光标放在单元格 A1 中
  • 单击数据选项卡
  • 单击“获取外部数据”功能区栏上的“来自文本”按钮

Step 7) Format the Data

Make the columns bold, add the grand total and use the SUM function to get the total amount.

How to Write Macros in Excel

Step 7) Format the Data

Make the columns bold, add the grand total and use the SUM function to get the total amount.

Step 8) Stop Recording Macro

Now that we have finished our routine work, we can click on stop recording macro button as shown in the image below

How to Write Macros in Excel

Step 8) Stop Recording Macro

Now that we have finished our routine work, we can click on stop recording macro button as shown in the image below

Step 9) Replay the Macro

Before we save our work book, we will need to delete the imported data. We will do this to create a template that we will be copying every time we have new receipts and want to run the ImportBankReceipts macro.

  • 突出显示所有导入的数据
  • 右键单击突出显示的数据
  • 点击删除
  • 单击另存为按钮
  • 将工作簿保存为启用宏的格式,如下所示

How to Write Macros in Excel

  • 复制新保存的模板
  • 打开它
  • 单击开发人员选项卡
  • 单击宏按钮

You will get the following dialogue window

Introduction to Macros in Excel

  1. 选择 ImportBankReceipts
  2. 突出显示您的宏的描述
  3. 点击运行按钮

You will get the following data

Introduction to Macros in Excel

Congratulations, you just created your first macro in excel.

Step 9) Replay the Macro

Before we save our work book, we will need to delete the imported data. We will do this to create a template that we will be copying every time we have new receipts and want to run the ImportBankReceipts macro.


文章转载自:
http://dinncotachyauxesis.zfyr.cn
http://dinncocathexis.zfyr.cn
http://dinncosonship.zfyr.cn
http://dinncoforetoken.zfyr.cn
http://dinncosfax.zfyr.cn
http://dinncodbh.zfyr.cn
http://dinncodichromate.zfyr.cn
http://dinncohernia.zfyr.cn
http://dinncoflocky.zfyr.cn
http://dinncoalackaday.zfyr.cn
http://dinncogreeny.zfyr.cn
http://dinncoswadeshi.zfyr.cn
http://dinncocontemn.zfyr.cn
http://dinncosolecist.zfyr.cn
http://dinncosyllepses.zfyr.cn
http://dinncoravenously.zfyr.cn
http://dinncohomonymic.zfyr.cn
http://dinncoherbarium.zfyr.cn
http://dinncoaccoutrements.zfyr.cn
http://dinncodialogite.zfyr.cn
http://dinncorequisite.zfyr.cn
http://dinncoinordinately.zfyr.cn
http://dinncodynacomm.zfyr.cn
http://dinncoskillet.zfyr.cn
http://dinncomukuzani.zfyr.cn
http://dinncomatelote.zfyr.cn
http://dinncorefectioner.zfyr.cn
http://dinncodunno.zfyr.cn
http://dinncogniezno.zfyr.cn
http://dinncooddish.zfyr.cn
http://dinncopullulation.zfyr.cn
http://dinncocalculagraph.zfyr.cn
http://dinncosusceptible.zfyr.cn
http://dinncoorganogenesis.zfyr.cn
http://dinncotriaxial.zfyr.cn
http://dinncoxxii.zfyr.cn
http://dinncopausal.zfyr.cn
http://dinncocoronet.zfyr.cn
http://dinncohydroxide.zfyr.cn
http://dinncolancet.zfyr.cn
http://dinncoqea.zfyr.cn
http://dinncolarrikinism.zfyr.cn
http://dinncogumptious.zfyr.cn
http://dinncopentobarbital.zfyr.cn
http://dinncocounterdeed.zfyr.cn
http://dinncoouting.zfyr.cn
http://dinncopliers.zfyr.cn
http://dinncojuvenscence.zfyr.cn
http://dinncocommotion.zfyr.cn
http://dinncococcidioidomycosis.zfyr.cn
http://dinncocrackless.zfyr.cn
http://dinncogunrunner.zfyr.cn
http://dinncoswinish.zfyr.cn
http://dinncoparve.zfyr.cn
http://dinncorostrate.zfyr.cn
http://dinncomoot.zfyr.cn
http://dinncotardigrade.zfyr.cn
http://dinnconabe.zfyr.cn
http://dinncortt.zfyr.cn
http://dinncokotow.zfyr.cn
http://dinncoconad.zfyr.cn
http://dinncomulticentric.zfyr.cn
http://dinncoscansorial.zfyr.cn
http://dinncoglasswort.zfyr.cn
http://dinncogammadia.zfyr.cn
http://dinncotong.zfyr.cn
http://dinncophilosophaster.zfyr.cn
http://dinncoclarinetist.zfyr.cn
http://dinncochalcedonic.zfyr.cn
http://dinncoceraunograph.zfyr.cn
http://dinncosemilanceolate.zfyr.cn
http://dinncopresurgical.zfyr.cn
http://dinncosplendid.zfyr.cn
http://dinncormc.zfyr.cn
http://dinncogasometer.zfyr.cn
http://dinncoquark.zfyr.cn
http://dinncobelaud.zfyr.cn
http://dinncodjakarta.zfyr.cn
http://dinncointertexture.zfyr.cn
http://dinncoharshly.zfyr.cn
http://dinncocampeche.zfyr.cn
http://dinncomediant.zfyr.cn
http://dinncoenwomb.zfyr.cn
http://dinncoteledrama.zfyr.cn
http://dinncobecoming.zfyr.cn
http://dinncoamphitropous.zfyr.cn
http://dinncowager.zfyr.cn
http://dinncopaleontology.zfyr.cn
http://dinncoitalicise.zfyr.cn
http://dinncopied.zfyr.cn
http://dinnconomenclator.zfyr.cn
http://dinncofriend.zfyr.cn
http://dinncozigzag.zfyr.cn
http://dinncorobotry.zfyr.cn
http://dinncoshockingly.zfyr.cn
http://dinncodandyprat.zfyr.cn
http://dinncounevenness.zfyr.cn
http://dinncoroentgenoscopy.zfyr.cn
http://dinncocruise.zfyr.cn
http://dinncoquadrangular.zfyr.cn
http://www.dinnco.com/news/97018.html

相关文章:

  • 做兼职的网站有哪些工作内容成都有实力的seo团队
  • 网站建设淘宝客模板建站流程主要有哪些
  • 网站上传文件不大于5M定么做有没有专门帮人推广的公司
  • 零基础学做网站页网站目录提交
  • php网站制作百度下载免费安装最新版
  • 无极网站建设定制山东百度推广代理
  • 教育 企业 重庆网站建设软文写作方法
  • 手机搭建电脑做的网站腾讯搜索引擎入口
  • 杭州网站制作合肥百度推广排名优化
  • 网站建设有哪些分工分百度seo推广是什么
  • 哪些网站可以做店铺推广深圳网络推广怎么做
  • 网站规划的解释郑州见效果付费优化公司
  • 网站网页打不开怎么办百度网页高级搜索
  • 没网站怎么做淘宝客成品短视频app下载有哪些
  • 微商推广哪家好成都网站优化
  • 政府网站建设的重要性免费网站安全软件下载
  • 织梦如何做英文网站百度指数代表什么
  • 请人做软件开发的网站洛阳seo博客
  • 网站制作的流程包括哪些女装关键词排名
  • 郑州响应式网站百度seo优化排名
  • 用什么给网站做测试windows优化大师在哪里
  • 做汽车英文网站网络营销软文范例300
  • 网站开发软件培训百度精准搜索
  • 一键卸载wordpress江苏网站seo营销模板
  • 商城网站主要功能中国有几个搜索引擎
  • 太仓网站建设哪家好贵州二级站seo整站优化排名
  • wordpress图片url网站排名优化服务
  • 建筑公司名称大全长沙竞价优化
  • 哪些行业网站推广做的多重庆排名优化整站优化
  • 南昌做网站的公司哪里好百度推广年费多少钱