Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
IE
Hi all,
I have web interactive macro, which logs into the web & get some data. I have no problem in getting data. But I have option to save data in PDF. I am able to click the "Click to Save" button & it opens new window & i need to click ok button. I am not able to click. To navigate to the web need username & password, which is confidential. Please help me. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
IE
On 8/6/2010 12:56 AM, fi.or.jp.de wrote:
Hi all, I have web interactive macro, which logs into the web& get some data. I have no problem in getting data. But I have option to save data in PDF. I am able to click the "Click to Save" button& it opens new window& i need to click ok button. I am not able to click. To navigate to the web need username& password, which is confidential. Please help me. Post the relevant source code. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
IE
here's the source code for ok & cancel button
</div <ul class="ulFormActionButton" id="accounts_view_broker_formActionButton_ul" <li id="accounts_view_broker_formActionButton_ul_li1" <input class="buttonDefault" type="button" name="html_save_save_to_pdf_ok_but" id="html_save_save_to_pdf_ok_but" value="OK" title="Account Save PDF options for Broker" onclick="javascript:submitNewFlavor(document.frmAc cSaveAccPDFOptions, 'pdfSave');" / </li <li id="accounts_view_broker_formActionButton_ul_li2" <input class="buttonDefault" type="button" name="html_cancel_save_to_pdf" id="html_cancel_save_to_pdf" value="Cancel" title="Save selected account alert Cancel" onclick="javascript:window.close();"/ </li </ul On Aug 6, 2:15*pm, Mike S wrote: On 8/6/2010 12:56 AM, fi.or.jp.de wrote: Hi all, I have web interactive macro, which logs into the web& *get some data. I have no problem in getting data. But I have option to save data in PDF. I am able to click the "Click to Save" button& *it opens new window& i need to click ok button. I am not able to click. To navigate to the web need username& *password, which is confidential. Please help me. Post the relevant source code. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
IE
On 8/6/2010 4:01 AM, fi.or.jp.de wrote:
here's the source code for ok& cancel button <inputclass="buttonDefault" type="button" name="html_save_save_to_pdf_ok_but" id="html_save_save_to_pdf_ok_but" value="OK" title="Account Save PDF options for Broker" onclick="javascript:...snip...');"/ <input class="buttonDefault" type="button" name="html_cancel_save_to_pdf" id="html_cancel_save_to_pdf" value="Cancel" title="Save selected account alert Cancel" onclick="javascript:...snip..."/ A post just previous to yours has a suggestion about how to handle an element when you know its ID. http://www.excelforum.com/excel-prog...-explorer.html Look at the last 6 lines of the example code. Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|