惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
G
Google Developers Blog
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
月光博客
月光博客
B
Blog
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
博客园_首页
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Jina AI
Jina AI
S
SegmentFault 最新的问题
H
Help Net Security
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
Google DeepMind News
Google DeepMind News

博客园 - 隨風.NET

使用omdd下载ollama 钉钉AI机器人 安全高效跨平台的. NET 模板引擎 Fluid 使用文档 IIS反向代理 anki单词发音 excelPackage.Workbook.Worksheets[0]”引发了类型“System.Collections.Generic.KeyNotFoundException”的异常 red-gate激活要点 简化asp.netcore框架 python 调用dnspod接口修改A记录 windows安装nginx服务 jquery根据json自动生成表格 动态生成类并通过反射调用 excel 链接变图片 搭建prometheus监控系统 .net core部署到k8s 异步异常无法catch 虚拟机安装k8s 优化 vue 使用 webpack 打包,出现的缓存问题 及 项目部署问题 Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException 拒绝访问 / 出现了内部错误 c# – 当使用X509Certificate2加载p12/pfx文件时出现
vba替换\
隨風.NET · 2024-11-05 · via 博客园 - 隨風.NET
Sub RemoveTextBetweenSlashes()
    Dim rng As Range
    Dim cell As Range
    '这里假设要处理的是当前活动工作表中已使用的单元格区域,你可以修改为特定的单元格范围
    Set rng = ActiveSheet.UsedRange
    For Each cell In rng
        Dim text As String
        text = cell.Value
        Dim startSlash As Long, endSlash As Long
        startSlash = InStr(text, "/")
        Do While startSlash > 0
            endSlash = InStr(startSlash + 1, text, "/")
            If endSlash > 0 Then
                text = Left(text, startSlash - 1) &"|"& Mid(text, endSlash + 1)
                startSlash = InStr(text, "/")
            Else
                startSlash = 0
            End If
        Loop
        cell.Value = text
    Next cell
End Sub