Add a table to a module

ozzie2009

New Member
Can anyone please tell me how I add an html table into a vba module.

For example

HTML:
<table border="1" width="100%">
  <tr>
    <td width="9%"><font size="1">a</font></td>
    <td width="9%">fsdf</td>
    <td width="9%">sfd</td>
    <td width="9%">sfs</td>
    <td width="9%">sfdfs</td>
    <td width="9%">sfd</td>
    <td width="9%">sfs</td>
    <td width="9%">dsfs</td>
    <td width="9%">fsf</td>
    <td width="9%">sdfsdf</td>
    <td width="10%">sff</td>
  </tr>
  <tr>
    <td width="9%">b</td>
    <td width="9%">dsff</td>
    <td width="9%">sfd</td>
    <td width="9%">sfd</td>
    <td width="9%">sdf</td>
    <td width="9%">sfsf</td>
    <td width="9%">fsdf</td>
    <td width="9%">sdfs</td>
    <td width="9%">fsf</td>
    <td width="9%">sfdsf</td>
    <td width="10%">sfsf</td>
  </tr>
</table>

I can get the table to display but there is a huge gap of nothingness at the top of the module. What am I doing wrong?

Thanks in advance
 
try this..

Code:
<table width="100%" border="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr
 
Not sure how I can show an example :/

I want to add a table like the image below into a module in vba

07011table.gif


The problem is that although it shows up there is a lot of wasted space above it
so you have to scroll down the page to find the table.
 
Back
Top