Sub 通用件()
X1 = ActiveWorkbook.ActiveSheet.UsedRange.Row
X2 = ActiveWorkbook.ActiveSheet.Range("A65536").End(xlUp).Row
For X = X1 To X2
If Cells(X, 1) = "通用件" Then
Cells(X, 1).Select
End If
Next
End Sub
跨工作表查找的宏
答案:1 悬赏:70 手机版
解决时间 2021-01-29 14:10
- 提问者网友:沉默菋噵
- 2021-01-29 00:34
最佳答案
- 五星知识达人网友:底特律间谍
- 2021-01-29 01:42
Sub 通用件()
Dim findrng As Range
Worksheets("配件资料").Select
Set findrng = ActiveSheet.Range("A:A").Find("通用件")
If Not findrng Is Nothing Then findrng.Select
End Sub
Dim findrng As Range
Worksheets("配件资料").Select
Set findrng = ActiveSheet.Range("A:A").Find("通用件")
If Not findrng Is Nothing Then findrng.Select
End Sub
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯