[算表] 「轉換成數字」的程式碼

看板Office作者 (伊布)時間7年前 (2018/07/17 01:02), 7年前編輯推噓0(001)
留言1則, 1人參與, 7年前最新討論串1/1
軟體: 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.htmlIbrahimovic:轉錄至看板 Visual_Basic 07/17 01:03

07/17 06:55, 7年前 , 1F
google excel vba convert text to number
07/17 06:55, 1F
找到了,感謝您 記錄一下 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
文章代碼(AID): #1RJC-Wmh (Office)
文章代碼(AID): #1RJC-Wmh (Office)