PDA

View Full Version : inser data


wilson
11-08-2002, 04:54 AM
Double- Expenses Depart
Entry code code code Descrip Amount
Dr 405013 1010502 books 300
Dr 405012 1018625 cd 100
Dr 405011 1048745 vcd 100
Cr 101160 Bank -500
Dr 162011 books 300
Cr 162012 books -300
Dr 405020 1048745 cd rack 100
Dr 405213 1010501 brush 50
Cr 101160 Bank -150


I need a macro that will help me to do a double-entry for any expenses that are incurred by department 1010502.Which is debit(40)162011 & credit (50)162012 with the amount incurred ($300).this entry should not override any existing content,but to move them below to make space for 2 rows needed.The double-entry will copy the same description as the one entered for department 1010502.Could u tell me a complete vba source code that can solve my problem.

thank you