当前位置:网站首页>Excel录制宏
Excel录制宏
2022-07-25 13:00:00 【夜流冰】
录制宏来使任务自动化
先学录制宏, 在菜单View -> Macros中,Record Macro。


给要录制的宏定义一个名字,最长255个字符。起名最好简短,易区分,表示这个宏是做什么的。
不要使用特殊字符,可以使用数字、字母和下划线,但第一个字母不能是数字。


可以设置一个快捷键来调用宏,最好不要使用系统常用的快捷键,新设置的快捷键会覆盖系统原有的快捷键。
选择存储在本文件还是一个新Excel文件,或者存储到个人宏记录本中,这时所有的Excel都可以使用此宏。
然后添加一些描述信息。
点击OK后,就会开始录制,你的操作都会被记录下来,比如你添加的内容,设置的格式等。
当操作完成,要在宏菜单里点击结束录制宏。

一般是你经常要重复的工作,录制成宏,就可以实现工作自动化。使用设置的快捷键直接运行某个宏,或者点击宏菜单或Alt + F8,呼出宏选择菜单。


选择需要执行的宏,运行即可。
比如录制一个宏,给下面的表格数据加上头。

第二行的绿色区域,就是添加的表头,输入内容,更改格式,都被宏记录了下来。
边栏推荐
- 2022 年中回顾 | 大模型技术最新进展 澜舟科技
- 零基础学习CANoe Panel(13)—— 滑条(TrackBar )
- 如何用因果推断和实验驱动用户增长? | 7月28日TF67
- go : gin 自定义日志输出格式
- Shell common script: judge whether the file of the remote host exists
- AtCoder Beginner Contest 261E // 按位思考 + dp
- Clickhouse notes 03-- grafana accesses Clickhouse
- Emqx cloud update: more parameters are added to log analysis, which makes monitoring, operation and maintenance easier
- Convolutional neural network model -- googlenet network structure and code implementation
- Convolutional neural network model -- alexnet network structure and code implementation
猜你喜欢

从输入网址到网页显示

Docker学习 - Redis集群-3主3从-扩容-缩容搭建

A hard journey

Convolutional neural network model -- vgg-16 network structure and code implementation

【问题解决】org.apache.ibatis.exceptions.PersistenceException: Error building SqlSession.1 字节的 UTF-8 序列的字

【问题解决】ibatis.binding.BindingException: Type interface xxDao is not known to the MapperRegistry.

【GCN-RS】Towards Representation Alignment and Uniformity in Collaborative Filtering (KDD‘22)

G027-OP-INS-RHEL-04 RedHat OpenStack 创建自定义的QCOW2格式镜像

A turbulent life

Connotation and application of industrial Internet
随机推荐
A turbulent life
Excel import and export source code analysis
【AI4Code】《IntelliCode Compose: Code Generation using Transformer》 ESEC/FSE 2020
Memory layout of program
Cyberspace Security penetration attack and defense 9 (PKI)
Atcoder beginer contest 261e / / bitwise thinking + DP
【历史上的今天】7 月 25 日:IBM 获得了第一项专利;Verizon 收购雅虎;亚马逊发布 Fire Phone
Masscode is an excellent open source code fragment manager
如何理解Keras中的指标Metrics
The programmer's father made his own AI breast feeding detector to predict that the baby is hungry and not let the crying affect his wife's sleep
Moving Chinese figure liushenglan
【视频】马尔可夫链蒙特卡罗方法MCMC原理与R语言实现|数据分享
Chapter5 : Deep Learning and Computational Chemistry
[problem solving] ibatis.binding BindingException: Type interface xxDao is not known to the MapperRegistry.
JS sorts according to the attributes of the elements in the array
手写一个博客平台~第一天
卷积神经网络模型之——LeNet网络结构与代码实现
2022 年中回顾 | 大模型技术最新进展 澜舟科技
程序员成长第二十七篇:如何评估需求优先级?
ECCV2022 | TransGrasp类级别抓取姿态迁移