MS Excel Learning
2014年2月28日 星期五
播放mp3、wav、mid等音樂 ( "mciSendString" 可控制 停止)
›
播放mp3、wav、mid等音樂 (SOURCE : http://merry05.blog.hexun.com.tw/26987503_d.html ) Private Declare Function mciSendString Lib "winmm.dl...
2014年2月23日 星期日
取出指定 DIRECTORY 內所有 FILENAME
›
Sub Get_All_Files_in_Dir() Dim myFso As Scripting.FileSystemObject Dim myFiles As Scripting.Files Dim myFile As Scripting.Fi...
取得 FILE 的 資訊(VBA)
›
Sub Get_file_info() Dim myFso As Scripting.FileSystemObject Dim myStr As String Set myFso = New Scripting.FileSystemObject ...
VBA 產生隨機數字 (random & randomize 用法)
›
(1) 用 "時" "分" "鈔" 做種 , 作為 每次 / 每組 新隨機數字根據 seed = TimeValue("00:" & Format(Second(Time), ...
2014年2月21日 星期五
讓 EXCEL 發聲講英文(VBA)
›
FROM : http://www.ozgrid.com/forum/archive/index.php/t-163916.html Sub TEST() Call SayIt("Hello. This is Microsoft Excel speaking....
2014年2月20日 星期四
VBA 取得已選取位置的 欄名稱 (COLUMN)
›
Sub Get_Selected_Column_Address() Set a = Selection ' RANGE object Set b = a.EntireColumn ' RANGE obejst MsgBox b.Addre...
2014年1月9日 星期四
Write a line in a txt file
›
Write a line in a txt file source :from : http://stackoverflow.com/questions/18472596/write-a-line-in-a-txt-file Sub WriteTextToFile () ...
›
首頁
查看網路版