随笔分类 -  vba

excel提取字符串中某一字符位置
摘要:Public Function getPos(source As String, searchChar As String) Dim i i = InStr(1, source, searchChar, vbTextCompare) '调用vba函数 getPos = i End Function 阅读全文

posted @ 2024-12-10 17:26 码农at突泉 阅读(54) 评论(0) 推荐(0)