Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Macro need for Excell 2003

Please Help me i need VBA code for this

Sheet 1 Data
________________________________________
A B
P.Code Balance Amount
1 100 25000
2 101 1300
3 102 7800
________________________________________

Sheet 2
I have Detailed Bills

A B C

P.Code Bill No. Billwise Details

1 100 A123 1000
2 100 A124 15000
3 100 A125 5000
4 100 A126 8000
5 101 ABC 500
6 101 ABC1 800
7 101 ABC2 500
8 102 Z123 2000
9 102 Z124 800
10 102 Z125 2000
11 102 Z 126 3000
12 102 Z1276 2500


OUT LIKE THIS.............................

A B
C D

P.Code Bill No. Billwise Details ACTULS
OUTSTANDING

1 100 A123
1000 0
2 100 A124
15000 12000
3 100 A125
5000 5000
4 100 A126
8000 8000
5 101 ABC
500 0
6 101 ABC1
800 800
7 101 ABC2
500 500
8 102 Z123
2000 0
9 102 Z124
800 300
10 102 Z125
2000 2000
11 102 Z 126
3000 3000
12 102 Z 1276
2500 2500



Column D is Actuls Outstading of my Bills this should be Sheet 1
P. code amount Equals .


P.CODE= 100 Balance is Only 25000 But we have Bill wise details
More than Rs. 25000 . we need Last in first out method Bills only

P.CODE = 101 Balance is only 1300 But we have Sheet 2 Data is
more than 1800 so we need only 1300 down up Bills details only

like this only will come but i dont know code how i start any
one help

Chandru








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run acces 2003 macro in excell 2003 macro gonggo Excel Discussion (Misc queries) 0 October 6th 09 11:45 AM
auto locking of excell workbook (excell 2003) cheekymonkey Excel Discussion (Misc queries) 2 November 14th 08 11:50 PM
Macro options in Excell 2003 Joshua Excel Worksheet Functions 1 April 30th 08 07:16 PM
will macro created in excell 2003 work if run using 2000 Michael Soares Excel Discussion (Misc queries) 2 September 11th 06 05:34 PM
excell 2003 low macro secutiy changing is not staying in low djruby14 Excel Discussion (Misc queries) 3 February 15th 06 07:47 PM


All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"