mike_ate_a_pie
Board Regular
- Joined
- Sep 25, 2009
- Messages
- 69
Hi all,
I am trying to find a macro that will enable data to be enetered to a list. The list will then be sorted smallest to biggest and only unique entries will be allowed to be added.
For example:
<table style="border-collapse: collapse;" width="274" border="0" cellpadding="0" cellspacing="0" height="197"><col style="width: 56pt;" width="74"> <col style="width: 86pt;" width="115"> <tbody><tr style="height: 15.75pt;" height="21"> <td style="height: 15.75pt; width: 56pt;" width="74" height="21">enter code</td> <td style="width: 86pt;" width="115">enter description</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl64" style="height: 15.75pt;" height="21">103008</td> <td class="xl64" style="border-left: medium none;">ryan</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">Code</td> <td class="xl63">Description</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">102001</td> <td class="xl63">mike</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">102006</td> <td class="xl63">john</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">102009</td> <td class="xl63">sam</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">103001</td> <td class="xl63">pete</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">104002</td> <td class="xl63">gary</td> </tr> </tbody></table>
If i entered 103008 and ryan this would be added to the list below in code order (below pete). However if i tried to add a code already in the list, eg - 102006, john, it would create an error box.
Does anybody know if this is possible or a simple way to do this?
Thanks in advance
Mike
I am trying to find a macro that will enable data to be enetered to a list. The list will then be sorted smallest to biggest and only unique entries will be allowed to be added.
For example:
<table style="border-collapse: collapse;" width="274" border="0" cellpadding="0" cellspacing="0" height="197"><col style="width: 56pt;" width="74"> <col style="width: 86pt;" width="115"> <tbody><tr style="height: 15.75pt;" height="21"> <td style="height: 15.75pt; width: 56pt;" width="74" height="21">enter code</td> <td style="width: 86pt;" width="115">enter description</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl64" style="height: 15.75pt;" height="21">103008</td> <td class="xl64" style="border-left: medium none;">ryan</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">Code</td> <td class="xl63">Description</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">102001</td> <td class="xl63">mike</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">102006</td> <td class="xl63">john</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">102009</td> <td class="xl63">sam</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">103001</td> <td class="xl63">pete</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">104002</td> <td class="xl63">gary</td> </tr> </tbody></table>
If i entered 103008 and ryan this would be added to the list below in code order (below pete). However if i tried to add a code already in the list, eg - 102006, john, it would create an error box.
Does anybody know if this is possible or a simple way to do this?
Thanks in advance
Mike
