Nested html table is not loaded in documentWhat are valid values for the id attribute in HTML?Convert HTML + CSS to PDF with PHP?HTML 5: Is it <br>, <br/>, or <br />?How to create an HTML button that acts like a link?Redirect from an HTML pageWhy does HTML think “chucknorris” is a color?Submenu with z-index doesn't want to go over contentCannot display HTML stringWrong String parameter when sending a json string as a post requestTextarea too large for page?

Omit property variable when using object destructuring

Pedaling at different gear ratios on flat terrain: what's the point?

Promotion comes with unexpected 24/7/365 on-call

Gimp perspective tool is not actually transforming

How to know the path of a particular software?

Why didn't Daenerys' advisers suggest assassinating Cersei?

Failing students when it might cause them economic ruin

Can I pay my credit card?

How can I safely determine the output voltage and current of a transformer?

Would life always name the light from their sun "white"

What kind of environment would favor hermaphroditism in a sentient species over regular, old sexes?

Cannot remove door knob -- totally inaccessible!

Canadian citizen who is presently in litigation with a US-based company

Is there a method to separate iron from mercury?

What are the effects of eating many berries from the Goodberry spell per day?

301 Redirects what does ([a-z]+)-(.*) and ([0-9]+)-(.*) mean

Polynomial division: Is this trick obvious?

Can a person still be an Orthodox Jew and believe that the Torah contains narratives that are not scientifically correct?

FIFO data structure in pure C

Usage of the relative pronoun "dont"

Is Big Ben visible from the British museum?

Capital gains on stocks sold to take initial investment off the table

Why are lawsuits between the President and Congress not automatically sent to the Supreme Court

Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?



Nested html table is not loaded in document


What are valid values for the id attribute in HTML?Convert HTML + CSS to PDF with PHP?HTML 5: Is it <br>, <br/>, or <br />?How to create an HTML button that acts like a link?Redirect from an HTML pageWhy does HTML think “chucknorris” is a color?Submenu with z-index doesn't want to go over contentCannot display HTML stringWrong String parameter when sending a json string as a post requestTextarea too large for page?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















When a button is clicked on a page using vba code, html table is loaded in the same page, but unable to retrieve the table information using vba code. When I refresh the page by manually pressing "Enter Key" in keyboad, I can able to get the table information using vba code. Please assist me how to get the nested table information from the page automatically using vba code. Kindly let me know if additional information is required.



VBA Immediate Window



<tr>
<td width="49%">


</td>

</tr>
</tbody></table>
</td>
</tr> </tbody></table>
</td></tr></tbody></table>


VBA Code



Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList")
btn.Click

Sleep (3000)

'waitForLoad ie
Set mybrowser = Nothing
Set mybrowser = FindWindow("rasp/CaseDetails.aspx")
Set htmldoc = mybrowser.Document

Debug.Print (htmldoc.body.innerHTML)


HTML Code



<tr>
<td width="49%">

<table cellspacing="0" cellpadding="4" align="Right" rules="cols" border="1" id="ctl00_ContentPlaceHolder1_grdData" style="width:100%;text-decoration:none;height:11px;font-weight:normal;font-style:normal;font-size:10px;font-family:Verdana;color:Black;border-width:1px;border-style:None;border-color:#DEDFDE;background-color:White;border-collapse:collapse;">
<tr style="color:White;background-color:#6B696B;font-family:Verdana;font-size:10px;font-weight:bold;height:11px;width:30px;">
<td>Caseno</td><td>CaseDate</td><td>Status</td><td>Referenceno</td><td>Custname</td><td>MobileNo</td><td>Serialno</td><td>Brand</td><td>Model</td><td>ModelDesc</td><td>Popdate</td><td>SympCode1</td><td>SympCode2</td><td>SympCode3</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146288 target = _blank>0003146288</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>MUHAMMAD AHAMED</td><td>0096599720991</td><td>VNF3D18318</td><td>HPIPGCONS</td><td>G3Q35A</td><td>HP LaserJet Pro M102w Prntr</td><td>06/09/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146300 target = _blank>0003146300</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>BURHAN TECHNOLOGY COMPUTER CO</td><td>0096598545714</td><td>CN88Q4R0C0</td><td>HPIPGCONS</td><td>G1X85A</td><td>HP Officejet 7612 WF e-All-in-</td><td>09/27/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146378 target = _blank>0003146378</a></td><td>02/27/2019</td><td>Waiting for stock</td><td>&nbsp;</td><td>LEAFIN INTERNATIONAL</td><td>0096550987136</td><td>U310C5BZ</td><td>Lenovo</td><td>65BA</td><td>LENOVO LI2054A Wide LCD Mon</td><td>01/09/2019</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146446 target = _blank>0003146446</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>MOHAMMED IQBAL</td><td>0096597217552</td><td>VNBNKDJFF5</td><td>HPIPGCONS</td><td>T6B82A</td><td>HP Color LaserJet Pro MFP M281</td><td>12/18/2017</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146572 target = _blank>0003146572</a></td><td>02/28/2019</td><td>Waiting for stock</td><td>&nbsp;</td><td>CORE COME INTERNATIONAL</td><td>0096599143374</td><td>MP1EDCW0</td><td>Lenovo</td><td>IDEAPAD V330-14IKB</td><td>LENOVO V330-14IKB</td><td>10/17/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146651 target = _blank>0003146651</a></td><td>02/28/2019</td><td>Closed</td><td>DOA</td><td>EUREKA HAWALLY</td><td>0096566212648</td><td>MP1D8K4Y</td><td>Lenovo</td><td>IDEAPAD 520-14IKB</td><td>LENOVO YOGA 520-14IKB</td><td>02/27/2019</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146901 target = _blank>0003146901</a></td><td>02/28/2019</td><td>Closed</td><td>&nbsp;</td><td>SAKR ATTAI ZEDAIN</td><td>0096569335053</td><td>CN84H2G0Q2</td><td>HPIPGCONS</td><td>Z4B53A</td><td>HP Ink Tank WL 415 AiO Printer</td><td>08/19/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">









share|improve this question






















  • Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.Click Does this element indeed have a click handler?

    – user2261597
    Mar 17 at 16:17











  • @peakpeak: Dear peakpeak, Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.click . when btn.click command executed, page will be refreshed and table will be displayed in the same page.At this moment I am not able to get displayed table information using document property of Internet explorer( ie.document ). please let me know if any additional information is required. Thanks for assisting.

    – Thanis Albert
    Mar 18 at 5:09

















0















When a button is clicked on a page using vba code, html table is loaded in the same page, but unable to retrieve the table information using vba code. When I refresh the page by manually pressing "Enter Key" in keyboad, I can able to get the table information using vba code. Please assist me how to get the nested table information from the page automatically using vba code. Kindly let me know if additional information is required.



VBA Immediate Window



<tr>
<td width="49%">


</td>

</tr>
</tbody></table>
</td>
</tr> </tbody></table>
</td></tr></tbody></table>


VBA Code



Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList")
btn.Click

Sleep (3000)

'waitForLoad ie
Set mybrowser = Nothing
Set mybrowser = FindWindow("rasp/CaseDetails.aspx")
Set htmldoc = mybrowser.Document

Debug.Print (htmldoc.body.innerHTML)


HTML Code



<tr>
<td width="49%">

<table cellspacing="0" cellpadding="4" align="Right" rules="cols" border="1" id="ctl00_ContentPlaceHolder1_grdData" style="width:100%;text-decoration:none;height:11px;font-weight:normal;font-style:normal;font-size:10px;font-family:Verdana;color:Black;border-width:1px;border-style:None;border-color:#DEDFDE;background-color:White;border-collapse:collapse;">
<tr style="color:White;background-color:#6B696B;font-family:Verdana;font-size:10px;font-weight:bold;height:11px;width:30px;">
<td>Caseno</td><td>CaseDate</td><td>Status</td><td>Referenceno</td><td>Custname</td><td>MobileNo</td><td>Serialno</td><td>Brand</td><td>Model</td><td>ModelDesc</td><td>Popdate</td><td>SympCode1</td><td>SympCode2</td><td>SympCode3</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146288 target = _blank>0003146288</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>MUHAMMAD AHAMED</td><td>0096599720991</td><td>VNF3D18318</td><td>HPIPGCONS</td><td>G3Q35A</td><td>HP LaserJet Pro M102w Prntr</td><td>06/09/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146300 target = _blank>0003146300</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>BURHAN TECHNOLOGY COMPUTER CO</td><td>0096598545714</td><td>CN88Q4R0C0</td><td>HPIPGCONS</td><td>G1X85A</td><td>HP Officejet 7612 WF e-All-in-</td><td>09/27/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146378 target = _blank>0003146378</a></td><td>02/27/2019</td><td>Waiting for stock</td><td>&nbsp;</td><td>LEAFIN INTERNATIONAL</td><td>0096550987136</td><td>U310C5BZ</td><td>Lenovo</td><td>65BA</td><td>LENOVO LI2054A Wide LCD Mon</td><td>01/09/2019</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146446 target = _blank>0003146446</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>MOHAMMED IQBAL</td><td>0096597217552</td><td>VNBNKDJFF5</td><td>HPIPGCONS</td><td>T6B82A</td><td>HP Color LaserJet Pro MFP M281</td><td>12/18/2017</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146572 target = _blank>0003146572</a></td><td>02/28/2019</td><td>Waiting for stock</td><td>&nbsp;</td><td>CORE COME INTERNATIONAL</td><td>0096599143374</td><td>MP1EDCW0</td><td>Lenovo</td><td>IDEAPAD V330-14IKB</td><td>LENOVO V330-14IKB</td><td>10/17/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146651 target = _blank>0003146651</a></td><td>02/28/2019</td><td>Closed</td><td>DOA</td><td>EUREKA HAWALLY</td><td>0096566212648</td><td>MP1D8K4Y</td><td>Lenovo</td><td>IDEAPAD 520-14IKB</td><td>LENOVO YOGA 520-14IKB</td><td>02/27/2019</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146901 target = _blank>0003146901</a></td><td>02/28/2019</td><td>Closed</td><td>&nbsp;</td><td>SAKR ATTAI ZEDAIN</td><td>0096569335053</td><td>CN84H2G0Q2</td><td>HPIPGCONS</td><td>Z4B53A</td><td>HP Ink Tank WL 415 AiO Printer</td><td>08/19/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">









share|improve this question






















  • Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.Click Does this element indeed have a click handler?

    – user2261597
    Mar 17 at 16:17











  • @peakpeak: Dear peakpeak, Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.click . when btn.click command executed, page will be refreshed and table will be displayed in the same page.At this moment I am not able to get displayed table information using document property of Internet explorer( ie.document ). please let me know if any additional information is required. Thanks for assisting.

    – Thanis Albert
    Mar 18 at 5:09













0












0








0








When a button is clicked on a page using vba code, html table is loaded in the same page, but unable to retrieve the table information using vba code. When I refresh the page by manually pressing "Enter Key" in keyboad, I can able to get the table information using vba code. Please assist me how to get the nested table information from the page automatically using vba code. Kindly let me know if additional information is required.



VBA Immediate Window



<tr>
<td width="49%">


</td>

</tr>
</tbody></table>
</td>
</tr> </tbody></table>
</td></tr></tbody></table>


VBA Code



Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList")
btn.Click

Sleep (3000)

'waitForLoad ie
Set mybrowser = Nothing
Set mybrowser = FindWindow("rasp/CaseDetails.aspx")
Set htmldoc = mybrowser.Document

Debug.Print (htmldoc.body.innerHTML)


HTML Code



<tr>
<td width="49%">

<table cellspacing="0" cellpadding="4" align="Right" rules="cols" border="1" id="ctl00_ContentPlaceHolder1_grdData" style="width:100%;text-decoration:none;height:11px;font-weight:normal;font-style:normal;font-size:10px;font-family:Verdana;color:Black;border-width:1px;border-style:None;border-color:#DEDFDE;background-color:White;border-collapse:collapse;">
<tr style="color:White;background-color:#6B696B;font-family:Verdana;font-size:10px;font-weight:bold;height:11px;width:30px;">
<td>Caseno</td><td>CaseDate</td><td>Status</td><td>Referenceno</td><td>Custname</td><td>MobileNo</td><td>Serialno</td><td>Brand</td><td>Model</td><td>ModelDesc</td><td>Popdate</td><td>SympCode1</td><td>SympCode2</td><td>SympCode3</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146288 target = _blank>0003146288</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>MUHAMMAD AHAMED</td><td>0096599720991</td><td>VNF3D18318</td><td>HPIPGCONS</td><td>G3Q35A</td><td>HP LaserJet Pro M102w Prntr</td><td>06/09/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146300 target = _blank>0003146300</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>BURHAN TECHNOLOGY COMPUTER CO</td><td>0096598545714</td><td>CN88Q4R0C0</td><td>HPIPGCONS</td><td>G1X85A</td><td>HP Officejet 7612 WF e-All-in-</td><td>09/27/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146378 target = _blank>0003146378</a></td><td>02/27/2019</td><td>Waiting for stock</td><td>&nbsp;</td><td>LEAFIN INTERNATIONAL</td><td>0096550987136</td><td>U310C5BZ</td><td>Lenovo</td><td>65BA</td><td>LENOVO LI2054A Wide LCD Mon</td><td>01/09/2019</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146446 target = _blank>0003146446</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>MOHAMMED IQBAL</td><td>0096597217552</td><td>VNBNKDJFF5</td><td>HPIPGCONS</td><td>T6B82A</td><td>HP Color LaserJet Pro MFP M281</td><td>12/18/2017</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146572 target = _blank>0003146572</a></td><td>02/28/2019</td><td>Waiting for stock</td><td>&nbsp;</td><td>CORE COME INTERNATIONAL</td><td>0096599143374</td><td>MP1EDCW0</td><td>Lenovo</td><td>IDEAPAD V330-14IKB</td><td>LENOVO V330-14IKB</td><td>10/17/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146651 target = _blank>0003146651</a></td><td>02/28/2019</td><td>Closed</td><td>DOA</td><td>EUREKA HAWALLY</td><td>0096566212648</td><td>MP1D8K4Y</td><td>Lenovo</td><td>IDEAPAD 520-14IKB</td><td>LENOVO YOGA 520-14IKB</td><td>02/27/2019</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146901 target = _blank>0003146901</a></td><td>02/28/2019</td><td>Closed</td><td>&nbsp;</td><td>SAKR ATTAI ZEDAIN</td><td>0096569335053</td><td>CN84H2G0Q2</td><td>HPIPGCONS</td><td>Z4B53A</td><td>HP Ink Tank WL 415 AiO Printer</td><td>08/19/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">









share|improve this question














When a button is clicked on a page using vba code, html table is loaded in the same page, but unable to retrieve the table information using vba code. When I refresh the page by manually pressing "Enter Key" in keyboad, I can able to get the table information using vba code. Please assist me how to get the nested table information from the page automatically using vba code. Kindly let me know if additional information is required.



VBA Immediate Window



<tr>
<td width="49%">


</td>

</tr>
</tbody></table>
</td>
</tr> </tbody></table>
</td></tr></tbody></table>


VBA Code



Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList")
btn.Click

Sleep (3000)

'waitForLoad ie
Set mybrowser = Nothing
Set mybrowser = FindWindow("rasp/CaseDetails.aspx")
Set htmldoc = mybrowser.Document

Debug.Print (htmldoc.body.innerHTML)


HTML Code



<tr>
<td width="49%">

<table cellspacing="0" cellpadding="4" align="Right" rules="cols" border="1" id="ctl00_ContentPlaceHolder1_grdData" style="width:100%;text-decoration:none;height:11px;font-weight:normal;font-style:normal;font-size:10px;font-family:Verdana;color:Black;border-width:1px;border-style:None;border-color:#DEDFDE;background-color:White;border-collapse:collapse;">
<tr style="color:White;background-color:#6B696B;font-family:Verdana;font-size:10px;font-weight:bold;height:11px;width:30px;">
<td>Caseno</td><td>CaseDate</td><td>Status</td><td>Referenceno</td><td>Custname</td><td>MobileNo</td><td>Serialno</td><td>Brand</td><td>Model</td><td>ModelDesc</td><td>Popdate</td><td>SympCode1</td><td>SympCode2</td><td>SympCode3</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146288 target = _blank>0003146288</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>MUHAMMAD AHAMED</td><td>0096599720991</td><td>VNF3D18318</td><td>HPIPGCONS</td><td>G3Q35A</td><td>HP LaserJet Pro M102w Prntr</td><td>06/09/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146300 target = _blank>0003146300</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>BURHAN TECHNOLOGY COMPUTER CO</td><td>0096598545714</td><td>CN88Q4R0C0</td><td>HPIPGCONS</td><td>G1X85A</td><td>HP Officejet 7612 WF e-All-in-</td><td>09/27/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146378 target = _blank>0003146378</a></td><td>02/27/2019</td><td>Waiting for stock</td><td>&nbsp;</td><td>LEAFIN INTERNATIONAL</td><td>0096550987136</td><td>U310C5BZ</td><td>Lenovo</td><td>65BA</td><td>LENOVO LI2054A Wide LCD Mon</td><td>01/09/2019</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146446 target = _blank>0003146446</a></td><td>02/27/2019</td><td>Closed</td><td>&nbsp;</td><td>MOHAMMED IQBAL</td><td>0096597217552</td><td>VNBNKDJFF5</td><td>HPIPGCONS</td><td>T6B82A</td><td>HP Color LaserJet Pro MFP M281</td><td>12/18/2017</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146572 target = _blank>0003146572</a></td><td>02/28/2019</td><td>Waiting for stock</td><td>&nbsp;</td><td>CORE COME INTERNATIONAL</td><td>0096599143374</td><td>MP1EDCW0</td><td>Lenovo</td><td>IDEAPAD V330-14IKB</td><td>LENOVO V330-14IKB</td><td>10/17/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146651 target = _blank>0003146651</a></td><td>02/28/2019</td><td>Closed</td><td>DOA</td><td>EUREKA HAWALLY</td><td>0096566212648</td><td>MP1D8K4Y</td><td>Lenovo</td><td>IDEAPAD 520-14IKB</td><td>LENOVO YOGA 520-14IKB</td><td>02/27/2019</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:#F7F7DE;font-family:Verdana;font-size:10px;height:16px;width:30px;">
<td><a href = frmView.aspx?jokey=3146901 target = _blank>0003146901</a></td><td>02/28/2019</td><td>Closed</td><td>&nbsp;</td><td>SAKR ATTAI ZEDAIN</td><td>0096569335053</td><td>CN84H2G0Q2</td><td>HPIPGCONS</td><td>Z4B53A</td><td>HP Ink Tank WL 415 AiO Printer</td><td>08/19/2018</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr><tr valign="top" style="background-color:White;font-family:Verdana;font-size:10px;height:16px;width:30px;">






html excel vba






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 17 at 15:33









Thanis AlbertThanis Albert

32




32












  • Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.Click Does this element indeed have a click handler?

    – user2261597
    Mar 17 at 16:17











  • @peakpeak: Dear peakpeak, Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.click . when btn.click command executed, page will be refreshed and table will be displayed in the same page.At this moment I am not able to get displayed table information using document property of Internet explorer( ie.document ). please let me know if any additional information is required. Thanks for assisting.

    – Thanis Albert
    Mar 18 at 5:09

















  • Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.Click Does this element indeed have a click handler?

    – user2261597
    Mar 17 at 16:17











  • @peakpeak: Dear peakpeak, Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.click . when btn.click command executed, page will be refreshed and table will be displayed in the same page.At this moment I am not able to get displayed table information using document property of Internet explorer( ie.document ). please let me know if any additional information is required. Thanks for assisting.

    – Thanis Albert
    Mar 18 at 5:09
















Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.Click Does this element indeed have a click handler?

– user2261597
Mar 17 at 16:17





Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.Click Does this element indeed have a click handler?

– user2261597
Mar 17 at 16:17













@peakpeak: Dear peakpeak, Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.click . when btn.click command executed, page will be refreshed and table will be displayed in the same page.At this moment I am not able to get displayed table information using document property of Internet explorer( ie.document ). please let me know if any additional information is required. Thanks for assisting.

– Thanis Albert
Mar 18 at 5:09





@peakpeak: Dear peakpeak, Set btn = htmldoc.getElementById("ctl00_ContentPlaceHolder1_btnList") btn.click . when btn.click command executed, page will be refreshed and table will be displayed in the same page.At this moment I am not able to get displayed table information using document property of Internet explorer( ie.document ). please let me know if any additional information is required. Thanks for assisting.

– Thanis Albert
Mar 18 at 5:09












2 Answers
2






active

oldest

votes


















0














It would help if you could post the URL.



The html code you've posted, where did you copy it from?



Keep in mind that when you right-click on the page and View Page Source Code, you could get a different result from the one you'll get by Inspect Element.



I can only assume that, what's happening in your case is that, your code returns the HTML file that is delivered to your browser before any DOM manipulation takes place.



In other words, the contents of the table you are interested in, are populated by a script and your code downloads the HTML, before this script takes effect onto it.



That's the equivalent of View Page Source Code. That could explain why the table you get is empty.



In any case, you should learn how to work with HTTP requests, to get the data you need instead of using IE. There are many posts on how to do that and it will make your life a lot easier.



My suggestion is, go to that site, open your browser's web developer tools and check the network traffic (ctrl+Shift+E if you're using firefox) when you press that button.



Find which request's response contains the data you're interested in and work from there.






share|improve this answer























  • @ Stavros Jon: Thanks for your wonderful explanation. Url: online.redingtongulf.com/servicemea/rasp/Login.aspx, username:EGF-KUW, Password:init123, navigation: login->reports->click view case details ->click list -> Table will be listed. I would like to get the table details in my code using (ie.document), after the list button is clicked. But I am not getting the table details, instead I am getting empty as mentioned above VBA Immediate Window. Please assist me to get the table details. Kindly let me know if any additional information is required.

    – Thanis Albert
    Mar 20 at 8:42



















0














My problem has been resolved. I put my code waiting until document is fully loaded. After document is fully loaded, I could access table. Thanks for your kind help.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55208736%2fnested-html-table-is-not-loaded-in-document%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    It would help if you could post the URL.



    The html code you've posted, where did you copy it from?



    Keep in mind that when you right-click on the page and View Page Source Code, you could get a different result from the one you'll get by Inspect Element.



    I can only assume that, what's happening in your case is that, your code returns the HTML file that is delivered to your browser before any DOM manipulation takes place.



    In other words, the contents of the table you are interested in, are populated by a script and your code downloads the HTML, before this script takes effect onto it.



    That's the equivalent of View Page Source Code. That could explain why the table you get is empty.



    In any case, you should learn how to work with HTTP requests, to get the data you need instead of using IE. There are many posts on how to do that and it will make your life a lot easier.



    My suggestion is, go to that site, open your browser's web developer tools and check the network traffic (ctrl+Shift+E if you're using firefox) when you press that button.



    Find which request's response contains the data you're interested in and work from there.






    share|improve this answer























    • @ Stavros Jon: Thanks for your wonderful explanation. Url: online.redingtongulf.com/servicemea/rasp/Login.aspx, username:EGF-KUW, Password:init123, navigation: login->reports->click view case details ->click list -> Table will be listed. I would like to get the table details in my code using (ie.document), after the list button is clicked. But I am not getting the table details, instead I am getting empty as mentioned above VBA Immediate Window. Please assist me to get the table details. Kindly let me know if any additional information is required.

      – Thanis Albert
      Mar 20 at 8:42
















    0














    It would help if you could post the URL.



    The html code you've posted, where did you copy it from?



    Keep in mind that when you right-click on the page and View Page Source Code, you could get a different result from the one you'll get by Inspect Element.



    I can only assume that, what's happening in your case is that, your code returns the HTML file that is delivered to your browser before any DOM manipulation takes place.



    In other words, the contents of the table you are interested in, are populated by a script and your code downloads the HTML, before this script takes effect onto it.



    That's the equivalent of View Page Source Code. That could explain why the table you get is empty.



    In any case, you should learn how to work with HTTP requests, to get the data you need instead of using IE. There are many posts on how to do that and it will make your life a lot easier.



    My suggestion is, go to that site, open your browser's web developer tools and check the network traffic (ctrl+Shift+E if you're using firefox) when you press that button.



    Find which request's response contains the data you're interested in and work from there.






    share|improve this answer























    • @ Stavros Jon: Thanks for your wonderful explanation. Url: online.redingtongulf.com/servicemea/rasp/Login.aspx, username:EGF-KUW, Password:init123, navigation: login->reports->click view case details ->click list -> Table will be listed. I would like to get the table details in my code using (ie.document), after the list button is clicked. But I am not getting the table details, instead I am getting empty as mentioned above VBA Immediate Window. Please assist me to get the table details. Kindly let me know if any additional information is required.

      – Thanis Albert
      Mar 20 at 8:42














    0












    0








    0







    It would help if you could post the URL.



    The html code you've posted, where did you copy it from?



    Keep in mind that when you right-click on the page and View Page Source Code, you could get a different result from the one you'll get by Inspect Element.



    I can only assume that, what's happening in your case is that, your code returns the HTML file that is delivered to your browser before any DOM manipulation takes place.



    In other words, the contents of the table you are interested in, are populated by a script and your code downloads the HTML, before this script takes effect onto it.



    That's the equivalent of View Page Source Code. That could explain why the table you get is empty.



    In any case, you should learn how to work with HTTP requests, to get the data you need instead of using IE. There are many posts on how to do that and it will make your life a lot easier.



    My suggestion is, go to that site, open your browser's web developer tools and check the network traffic (ctrl+Shift+E if you're using firefox) when you press that button.



    Find which request's response contains the data you're interested in and work from there.






    share|improve this answer













    It would help if you could post the URL.



    The html code you've posted, where did you copy it from?



    Keep in mind that when you right-click on the page and View Page Source Code, you could get a different result from the one you'll get by Inspect Element.



    I can only assume that, what's happening in your case is that, your code returns the HTML file that is delivered to your browser before any DOM manipulation takes place.



    In other words, the contents of the table you are interested in, are populated by a script and your code downloads the HTML, before this script takes effect onto it.



    That's the equivalent of View Page Source Code. That could explain why the table you get is empty.



    In any case, you should learn how to work with HTTP requests, to get the data you need instead of using IE. There are many posts on how to do that and it will make your life a lot easier.



    My suggestion is, go to that site, open your browser's web developer tools and check the network traffic (ctrl+Shift+E if you're using firefox) when you press that button.



    Find which request's response contains the data you're interested in and work from there.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Mar 19 at 11:40









    Stavros JonStavros Jon

    412210




    412210












    • @ Stavros Jon: Thanks for your wonderful explanation. Url: online.redingtongulf.com/servicemea/rasp/Login.aspx, username:EGF-KUW, Password:init123, navigation: login->reports->click view case details ->click list -> Table will be listed. I would like to get the table details in my code using (ie.document), after the list button is clicked. But I am not getting the table details, instead I am getting empty as mentioned above VBA Immediate Window. Please assist me to get the table details. Kindly let me know if any additional information is required.

      – Thanis Albert
      Mar 20 at 8:42


















    • @ Stavros Jon: Thanks for your wonderful explanation. Url: online.redingtongulf.com/servicemea/rasp/Login.aspx, username:EGF-KUW, Password:init123, navigation: login->reports->click view case details ->click list -> Table will be listed. I would like to get the table details in my code using (ie.document), after the list button is clicked. But I am not getting the table details, instead I am getting empty as mentioned above VBA Immediate Window. Please assist me to get the table details. Kindly let me know if any additional information is required.

      – Thanis Albert
      Mar 20 at 8:42

















    @ Stavros Jon: Thanks for your wonderful explanation. Url: online.redingtongulf.com/servicemea/rasp/Login.aspx, username:EGF-KUW, Password:init123, navigation: login->reports->click view case details ->click list -> Table will be listed. I would like to get the table details in my code using (ie.document), after the list button is clicked. But I am not getting the table details, instead I am getting empty as mentioned above VBA Immediate Window. Please assist me to get the table details. Kindly let me know if any additional information is required.

    – Thanis Albert
    Mar 20 at 8:42






    @ Stavros Jon: Thanks for your wonderful explanation. Url: online.redingtongulf.com/servicemea/rasp/Login.aspx, username:EGF-KUW, Password:init123, navigation: login->reports->click view case details ->click list -> Table will be listed. I would like to get the table details in my code using (ie.document), after the list button is clicked. But I am not getting the table details, instead I am getting empty as mentioned above VBA Immediate Window. Please assist me to get the table details. Kindly let me know if any additional information is required.

    – Thanis Albert
    Mar 20 at 8:42














    0














    My problem has been resolved. I put my code waiting until document is fully loaded. After document is fully loaded, I could access table. Thanks for your kind help.






    share|improve this answer



























      0














      My problem has been resolved. I put my code waiting until document is fully loaded. After document is fully loaded, I could access table. Thanks for your kind help.






      share|improve this answer

























        0












        0








        0







        My problem has been resolved. I put my code waiting until document is fully loaded. After document is fully loaded, I could access table. Thanks for your kind help.






        share|improve this answer













        My problem has been resolved. I put my code waiting until document is fully loaded. After document is fully loaded, I could access table. Thanks for your kind help.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 23 at 16:15









        Thanis AlbertThanis Albert

        32




        32



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55208736%2fnested-html-table-is-not-loaded-in-document%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현