find
来源:互联网 发布:实时行情数据接口 编辑:程序博客网 时间:2024/04/28 20:42
Dim Hcount As Integer
Dim Mcount As Integer
Dim Lcount As Integer
Dim keywords As String
Dim sheeetcount As Integer
Dim AutomatedCircsColumn As Integer
Function ReturnKeywordsColumn(keywords As String, sheetcount As Integer) As Integer
'Dim AutomatedCircs As Integer
'AutomatedCircs = 0
'With Sheets(sheetcount).Range("a1:G500")
' Set c = .find(keywords)
'
' If Not c Is Nothing Then
' firstAddress = c.Address
' Do
' 'AutomatedCircs = AutomatedCircs + 1
' Set c = .FindNext(c)
' Loop While Not c Is Nothing And c.Address <> firstAddress
' End If
'End With
With Sheets(sheetcount).Range("a1:aa5")
Set c = .find("ÖØÒª¼¶±ð", LookIn:=xlValues)
If Not c Is Nothing Then
'ReturnKeywordsColumn = c.Address.Column
'MsgBox c.Address.Column
MsgBox c.Column
End If
End With
End Function
Sub HMLSata()
'MsgBox ReturnKeywordsColumn("ÖØÒª¼¶±ð", 4)
a = ReturnKeywordsColumn("ÖØÒª¼¶±ð", 4)
End Sub
Dim Mcount As Integer
Dim Lcount As Integer
Dim keywords As String
Dim sheeetcount As Integer
Dim AutomatedCircsColumn As Integer
Function ReturnKeywordsColumn(keywords As String, sheetcount As Integer) As Integer
'Dim AutomatedCircs As Integer
'AutomatedCircs = 0
'With Sheets(sheetcount).Range("a1:G500")
' Set c = .find(keywords)
'
' If Not c Is Nothing Then
' firstAddress = c.Address
' Do
' 'AutomatedCircs = AutomatedCircs + 1
' Set c = .FindNext(c)
' Loop While Not c Is Nothing And c.Address <> firstAddress
' End If
'End With
With Sheets(sheetcount).Range("a1:aa5")
Set c = .find("ÖØÒª¼¶±ð", LookIn:=xlValues)
If Not c Is Nothing Then
'ReturnKeywordsColumn = c.Address.Column
'MsgBox c.Address.Column
MsgBox c.Column
End If
End With
End Function
Sub HMLSata()
'MsgBox ReturnKeywordsColumn("ÖØÒª¼¶±ð", 4)
a = ReturnKeywordsColumn("ÖØÒª¼¶±ð", 4)
End Sub
- find
- find
- find
- find
- find
- FIND
- find
- find
- find
- find
- find()
- find
- find
- find
- find
- Find
- find
- find
- 初学Java,IO之文件过滤器(四十)
- Pidl is an Interface Description Language for gobject c-code with automatic language bindings.
- 编写易读代码的艺术——第三章 名字应不能被误解
- 虚拟主机管理系统简介
- Hadoop HDFS源码学习笔记(四)
- find
- 四周任务1
- android HttpURLConnection網絡連接
- rename column of oracle
- Android 错误信息捕获发送至服务器【原创】
- Oracle的物化视图
- 使用mysql的replace函数替换字符串
- HDU 2571 命运 水DP
- 从实现iPhone的OAuth封装看国内互联网和开放平台