2020年12月6日 星期日

Excel VBA 在英文版windows 不能執行中文指令

 英文版的WINDOWS不能支援EXCLE 巨集的中文指令, 真是不有夠麻煩

解決方式如下:

1. Setting>Time & Language, 選右邊, Date, time & regional formatting

2. Region

3. 在Region Sstting中, 
   1.先選 Chinese (traditional, Taiwan)
   2.確定 不要勾選 use unicode UTF-8 for worldwide language support
4.按win+s後 輸入regedit, 再按enter
   在registry editor 中找到下列路徑
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage
將OEMCP 的DATA改為950
5.重新開機