Excel精英培训网

 找回密码
 注册
数据透视表40+个常用小技巧,让你一次学会!
查看: 4684|回复: 13

[资料] [分享]VBA班第二讲听课笔记

[复制链接]
发表于 2007-11-14 22:20 | 显示全部楼层 |阅读模式
<p>Option Explicit</p><p><br/>Sub 精英()<br/>&nbsp;&nbsp;&nbsp; Range("A1") = "兰色幻想"<br/>&nbsp;&nbsp;&nbsp; Sheets("部门").Range("b2") = 100<br/>End Sub<br/>Sub 精英2()<br/>&nbsp;&nbsp;&nbsp; With Sheets("部门")<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Range("A1") = "兰色幻想"<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Range("b2") = 100<br/>&nbsp;&nbsp;&nbsp; End With<br/>End Sub<br/>Sub 精英3()<br/>&nbsp;&nbsp;&nbsp; With Sheets("部门")<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sheets("Sheet2").Range("A1") = .Range("b2") + .Range("c3") + .Range("d4")<br/>&nbsp;&nbsp;&nbsp; End With<br/>End Sub<br/></p><p>&nbsp;</p> x6NXHwMl.rar (6.59 KB, 下载次数: 81)
发表于 2007-11-14 22:22 | 显示全部楼层
回复

使用道具 举报

发表于 2007-11-14 22:24 | 显示全部楼层
回复

使用道具 举报

发表于 2007-11-14 22:24 | 显示全部楼层

3Q!!![em01]
回复

使用道具 举报

发表于 2007-11-14 22:26 | 显示全部楼层

<p>太好了,谢谢</p><p></p>
回复

使用道具 举报

发表于 2007-11-14 22:26 | 显示全部楼层

谢谢老师,一定好好学习去~
回复

使用道具 举报

发表于 2007-11-14 22:36 | 显示全部楼层

<p>不错,兰版讲得真好啊</p>[em01]
回复

使用道具 举报

发表于 2007-11-14 22:39 | 显示全部楼层

<p>呵呵,老师的速度可真快的!!!!!!!</p><p>谢谢!!!!!!!</p><p>&nbsp;</p>[em01]&nbsp; [em01]&nbsp; [em01]&nbsp; [em01]&nbsp; [em01]&nbsp; [em01]
回复

使用道具 举报

发表于 2007-11-14 22:49 | 显示全部楼层

[em10]tks
回复

使用道具 举报

发表于 2007-11-14 22:50 | 显示全部楼层

谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )

GMT+8, 2024-6-2 02:43 , Processed in 0.137277 second(s), 5 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表