Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如
在文档中是:
I am from "Moon"
通过 VBA 阅读,“将是 ASCII A1,我使用 Replace change Chr(161) to web-displayed quote,但似乎没用。
VBA代码:
Value = .Rows(i).Cells(2).Range.Text Value = Replace(Value, Chr(161), """)
有谁知道怎么做?
Chr(161)是¡,不是引号。如果要匹配 Windows-1262 大引号,则需要Chr(147)and Chr(148)。
Chr(161)
Chr(147)
Chr(148)