VBA Coding and Functions

Vishal2204

New Member
Joined
Nov 12, 2014
Messages
25
Hello,

I have a Excel File in which I have given some Excel functions to calculate the figures/amount. But I wanted to do all these this in a Form. I have created a form but I'm illiterate about <acronym title="visual basic for applications">VBA</acronym> Coding. can someone please help me.

1. Form should find empty row and add new bill.
2. Form Automatically get next Bill No. (if 2 bills are done it should take Bill No. 3)
3. One bill has multiple Products and Bill Amount should sum for all products for the same bill (I used SUMIF in Excel)
4. It should search bill, edit bill, add, or print bill.
5. Auto calculate totals.

Data:

Date
Bill No.Party NameProductDelivery QtyReturn QtyNet DeliveryMRP RateRetailer RateMRP TotalRetailer Total25% LessBill AmountReceived AmountBalance
01-Apr-14204ABCNote Book2569016610.008.001660.001328.001245.002260.002200.0060.00
01-Apr-14204ABCInk602436
15.0012.00540.00432.00405.00
01-Apr-14204ABCPen20170320.0016.0060.0048.0045.00
02-Apr-14205XYZNote Book2006014010.008.001400.001120.001050.001764.001700.0064.00
02-Apr-14205XYZInk100386212.0010.00744.00620.00558.00
02-Apr-14205XYZPen50470310.008.0030.0024.0022.50

<colgroup><col><col><col><col><col span="11"></colgroup><tbody>
</tbody>


Please Help
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,151
Messages
6,123,316
Members
449,094
Latest member
Chestertim

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top