→ soyoso: google excel vba convert text to number 07/17 06:55
找到了,感謝您
記錄一下
https://stackoverflow.com/questions/36771458/vba-convert-text-to-number
[L:L].Select '選擇欲轉換的範圍
With Selection
.NumberFormat = "General"
.Value = .Value
End With
※ 編輯: Ibrahimovic (218.164.6.11), 07/17/2018 09:31:04
軟體: Excel
版本: 2016
https://i.imgur.com/qlIoiTm.jpg
如上圖
用錄製巨集時無法錄出來
請問轉換成數字這個功能,在VBA要如何寫出來?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 218.164.6.11
※ 文章網址: https://www.ptt.cc/bbs/Office/M.1531760544.A.C2B.html
※ Ibrahimovic:轉錄至看板 Visual_Basic 07/17 01:03