Excel精英培训网

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

求解一段代码产意思。哪位高人指点下

[复制链接]
发表于 2012-3-10 22:25 | 显示全部楼层 |阅读模式
    With Sheets(y)
        If .Name Like "*" & Mid(arr(x, 1), 8, 6) & "*" Then
            myrow = .Cells.Find(arr(x, 1)).Row
            mycol = .Cells.Find(arr(x, 1)).Column
              If myrow > 0 Then
                .Cells(myrow + 1, mycol) = arr(x, 2)
                .Cells(myrow + 2, mycol) = arr(x, 3)
                .Cells(myrow + 3, mycol) = arr(x, 4)
                GoTo 100
              End If
excel精英培训的微信平台,每天都会发送excel学习教程和资料。扫一扫明天就可以收到新教程
 楼主| 发表于 2012-3-10 22:42 | 显示全部楼层
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-24 15:03 , Processed in 0.271230 second(s), 4 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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