#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"