Excel精英培训网

 找回密码
 注册
数据透视表40+个常用小技巧,让你一次学会!
楼主: 不看不看

V中班课前必做题:找唯一

[复制链接]
发表于 2008-8-1 15:56 | 显示全部楼层
excel精英培训的微信平台,每天都会发送excel学习教程和资料。扫一扫明天就可以收到新教程
回复

使用道具 举报

发表于 2008-8-1 16:18 | 显示全部楼层

<br/>不知道 老师能不能看到我的回复,刚看到题目,排得太靠后了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复

使用道具 举报

发表于 2008-8-1 17:56 | 显示全部楼层
回复

使用道具 举报

发表于 2008-8-1 19:36 | 显示全部楼层

游客,如果您要查看本帖隐藏内容请回复
回复

使用道具 举报

发表于 2008-8-1 23:11 | 显示全部楼层

<p>学习</p>
回复

使用道具 举报

发表于 2008-8-2 00:52 | 显示全部楼层

游客,如果您要查看本帖隐藏内容请回复
回复

使用道具 举报

发表于 2008-8-2 18:34 | 显示全部楼层

代码和3楼的基本上是样的,速度也在5秒左右,惭愧呀!心里知道要想提速必须用到数组或字典,但真是心余而力不足啊!
回复

使用道具 举报

发表于 2008-8-3 08:56 | 显示全部楼层

ddddddddddddddddd
回复

使用道具 举报

发表于 2008-8-3 09:00 | 显示全部楼层

Sub Unique()<br/>&nbsp;&nbsp;&nbsp; Dim i&amp;, j&amp;<br/>&nbsp;&nbsp;&nbsp; For i = 1 To 60000 Step 200<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For j = i To i + 199<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Application.CountIf(Range(Cells(i, 1), Cells(i + 199, 1)), Cells(j, 1)) = 1 Then<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(j, 1).Interior.ColorIndex = 40<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(j, 1).Select<br/>&nbsp;&nbsp;&nbsp; Next<br/>End Sub
回复

使用道具 举报

发表于 2008-8-3 13:45 | 显示全部楼层

ddddddddd
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-8-15 10:57 , Processed in 2.214147 second(s), 4 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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