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

推荐订阅源

G
Google Developers Blog
博客园 - 司徒正美
Last Week in AI
Last Week in AI
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
博客园 - 聂微东
M
MIT News - Artificial intelligence
博客园_首页
Jina AI
Jina AI
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
Vercel News
Vercel News
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
N
Netflix TechBlog - Medium
B
Blog
Google DeepMind News
Google DeepMind News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 隨風.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