Re: [問題] 關於excel中VBA的問題
十分感謝上次板上的大大幫我解答
讓我可以順利繼續寫我的VBA>"<
想再請問
<td><input type ="button" class ="button2" value ="下一頁" onclick
="f_goDropDownList('next');"/> </td>
上面網頁的敘述式
我想要按下一頁這個按鍵
我要怎麼寫VBA程式碼哩??
先謝過~~
※ 引述《soyoso (Amon)》之銘言:
: ※ 引述《cancergemini (gemini)》之銘言:
: : (若是和其他不同軟體互動之問題 請記得一併填寫)
: : 軟體:
: : Excel
: : 版本:
: : 2003
: : 我想要寫一個VBA程式
: : 去擷取網頁上javascript的資料
: : 我去看網頁原始檔上有以下指令
: : <input type="submit" name="btnOK" value="查詢" id="btnOK" class="button2" />
: : 如果我希望按下查詢這個鍵
: : 在VBA上該怎麼寫
: : 謝謝~~
: Set myIE = CreateObject("InternetExplorer.Application")
: with myIE
: .Visible = True
: .navigate "http://網址"
: Do Until .ReadyState = 4
: DoEvents
: Loop
: .Document.forms(0).all("btnOK").Click
: end with
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.71.117.138
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 3 篇):
Office 近期熱門文章
PTT數位生活區 即時熱門文章