VBA Replace-取代字串

VBA Replace-取代字串

此函數最常運用在將字串的空白清除。
函數:
Replace(變數,目標字串,取代字串)
範例:
Replace("取代字串 Replace 的用法," ","")
結果:
取代字串Replace的用法

留言