摘要:
步驟 1:Word 中用特殊標記替換換行 選中整個表格,按 Ctrl + H 打開「查找和替換」。 查找內容:輸入 ^p(Word 硬回車)。 替換為:輸入一個表格中絕對不存在的特殊符號(比如 |||,確保和內容無沖突)。 點擊「全部替換」,此時 Word 單元格內的換行將被 ||| 替代,單元格顯 閱讀全文
posted @ 2025-09-05 22:23
python_learn
閱讀(162)
評論(0)
推薦(0)
摘要:
Sub 查找并操作() Dim arr Set 日期標記單元格 = Cells.Find("出生日期", lookat:=xlWhole, searchorder:=xlRows) If Not 日期標記單元格 Is Nothing Then 第一個找到符合內容的地址 = 日期標記單元格.Addre 閱讀全文
posted @ 2025-09-05 17:34
python_learn
閱讀(7)
評論(0)
推薦(0)
摘要:
Sub 批量將數字設置為文本格式() 文件名 = Dir("C:\Users\Administrator\Desktop\拆分\") Do While 文件名 <> "" Set wb = Workbooks.Open(Filename:="C:\Users\Administrator\Deskto 閱讀全文
posted @ 2025-09-05 17:33
python_learn
閱讀(11)
評論(0)
推薦(0)

浙公網安備 33010602011771號