- word表格制作教程:word删除空白页页眉页脚也没了怎么办
- word文档表格制作教程:Word 2013 中的基本任务
- word文档排版教程:如何在Word 2007中使用栏选项卡?
- word文档教程基本操作:如何在Word 2016中缩进段落
VBA想要编写激活单元格代码的效果,pdf转换成word,pdf转word,该怎么编写呢?下面我们就来看看详细的教程。
1、实例【先后激活C2单元格 和A1:C10区域?】
2、在工作表中,pdf怎么转换成word,点击菜单栏【开发工具】,在其工具栏内,点击【visual basic】!
3、会进入VBA编辑界面!点击菜单栏【插入】,在其下拉菜单中,选择【模块】!
4、会弹出模块编辑窗口!
5、在代码编辑窗输入如下代码:
Sub 激活单元格() Cells(2, 3).Activate Range("a1:c10").Activate End Sub
口输入以下代码:
6、在VBA窗口,点击【运行】按钮!
7、C2单元格 和A1:C10区域被先后激活!
以上就是VBA中编写激活单元格代码的教程,word教程视频全集自学,希望大家喜欢,请继续关注脚本之家。
上一篇:word文档制作ppt教程:VBA怎么编写激活单元格的代码? 下一篇:个人简历制作教程word:Acrobat打开的pdf怎么设置更改许可口令?
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。