作者:悉尼新鲜事儿 | 来源:互联网 | 2023-05-19 11:21
I'm generating XML from a list of text within a worksheet but I cant figure out how to check if the current cell has a bold word within it. What I need to do is check each cell in column A, read the text into a string, if I hit any bold words add the tags around it.
我正在从工作表中的文本列表生成XML,但是我不知道如何检查当前单元格中是否有一个粗体单词。我需要做的是检查A列中的每个单元格,将文本读入一个字符串,如果我点击任何粗体字,就在它周围添加标签。
I know you can read a cells contents character by character but not its formatting.
我知道您可以按字符读取单元格内容,但不能读取其格式。
Any help would be greatly appreciated!
如有任何帮助,我们将不胜感激!
1 个解决方案