funtonight
New Member
- Joined
- Jun 20, 2011
- Messages
- 11
Hi Friends,
i need lil help regarding in following sample how to add row automatically below row 4 means above the 5th row named total , and it continues to add row above TOTAL when the above row of Total gets filled . like at the moment row 4 is filled then i want excel to add row 5 automatically and Total row moves to row 6 but the formulas remain intact of total and so on
Sample of Excel Sheet am using ( IN THIS POST FORMATTING IS NOT REMAINING INTACT BUT HOPE YOU WILL UNDERSTAND:
<table border="0" cellpadding="0" cellspacing="0" width="320"><col style="width: 48pt;" span="5" width="64"> <tbody><tr style="height: 15pt;" height="20"> <td style="height: 15pt; width: 48pt;" height="20" width="64">Date</td> <td style="width: 48pt;" width="64">C.V No </td> <td style="width: 48pt;" width="64">Payment</td> <td style="width: 48pt;" width="64">Recipts</td> <td style="width: 48pt;" width="64">Comments</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" align="right" height="20">1/6/2011</td> <td align="right">5</td> <td align="right">50000</td> <td>
</td> <td>payment</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" align="right" height="20">7/6/2011</td> <td align="right">17</td> <td>
</td> <td align="right">1000</td> <td>recipt</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">13-6-2011</td> <td align="right">16</td> <td align="right">5000</td> <td>
</td> <td>POL</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">14-6-2011</td> <td align="right">18</td> <td>
</td> <td align="right">600</td> <td>OTHERS</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td>Total</td> <td align="right">55000</td> <td align="right">1600</td> <td>
</td> </tr> </tbody></table>
i dont know much abt Macro , so please tell me in simple language and step by step procedure how to add that code to make it work
Regards!
i need lil help regarding in following sample how to add row automatically below row 4 means above the 5th row named total , and it continues to add row above TOTAL when the above row of Total gets filled . like at the moment row 4 is filled then i want excel to add row 5 automatically and Total row moves to row 6 but the formulas remain intact of total and so on
Sample of Excel Sheet am using ( IN THIS POST FORMATTING IS NOT REMAINING INTACT BUT HOPE YOU WILL UNDERSTAND:
<table border="0" cellpadding="0" cellspacing="0" width="320"><col style="width: 48pt;" span="5" width="64"> <tbody><tr style="height: 15pt;" height="20"> <td style="height: 15pt; width: 48pt;" height="20" width="64">Date</td> <td style="width: 48pt;" width="64">C.V No </td> <td style="width: 48pt;" width="64">Payment</td> <td style="width: 48pt;" width="64">Recipts</td> <td style="width: 48pt;" width="64">Comments</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" align="right" height="20">1/6/2011</td> <td align="right">5</td> <td align="right">50000</td> <td>
</td> <td>payment</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" align="right" height="20">7/6/2011</td> <td align="right">17</td> <td>
</td> <td align="right">1000</td> <td>recipt</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">13-6-2011</td> <td align="right">16</td> <td align="right">5000</td> <td>
</td> <td>POL</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">14-6-2011</td> <td align="right">18</td> <td>
</td> <td align="right">600</td> <td>OTHERS</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td>Total</td> <td align="right">55000</td> <td align="right">1600</td> <td>
</td> </tr> </tbody></table>
i dont know much abt Macro , so please tell me in simple language and step by step procedure how to add that code to make it work
Regards!
Last edited: