之前在xp office2003上寫了一個excel VBA
可以使用ie去點連結後另存新檔
在另存新檔的畫面可以去改檔名
部份程式如下
hcombox32 = FindWindowEx(hWnd, 0, "ComboBoxEx32", vbNullString)
hcombox = FindWindowEx(hcombox32, 0, "ComboBox", "")
hedit = FindWindowEx(hcombox, 0, "Edit", "")
SendMessageByString hedit, WM_SETTEXT, Len(fname), fname
hbtn = FindWindowEx(hWnd, 0, vbNullString, "儲存(&S)")
而現在改用win7 64bit office 2010後
程式執行到這段程式就會出錯
hcombox32 = FindWindowEx(hWnd, 0, "ComboBoxEx32", vbNullString)
請高手們指點一下
謝謝