Hi,
I have workbook with commandbuttons & a userform.
Worksheet Names are Form, Quotation. In Form Sheet having three Commandbuttons. There are New, Edit, Generate Buttons.
In Userform as below,
Textboxes are txtano, txtdate, txttime, txtdel
checkbox with textbox enabled options:
If chkmlk checked, then enable txtmlk,
If chkcrd checked, then enable txtcrd,
If chkbtmlk checked, then enable txtbtmlk,
If chkbtr checked, then enable txtbtr,
If chkghe checked, then enable txtghe,
If chkmlkgv checked, then enable txtmlkgv,
If chkcrm checked, then enable txtcrm,
If chkpnr checked, then enable txtpnr,
If chkmsrm checked, then enable txtmsrm,
If chkrmbg checked, then enable txtrmbg,
If I click New button then open Userform with autogenerate of Last A.No in textbox txtano from Form sheet in Column A. After completing the userform, Click Add button then store the values in last row of Form sheet. Here disable Update button in Userform. Form Sheet entries given through Userform only means sheet protected.
If I click Edit button then fetching activerow values into Userforms textboxes and also tick the checkboxes. After editing process in Userform, by click Update button then amendment in respective row of A.No in Form sheet. Here disable Add button in Userform.
If I click Generate button then copy & paste active row values into Next sheet of Quotation in specified cells.
A.No Value in B4 of Quotation sheet. Delivery Name value in B3 of Quotation sheet.
Headers of Form sheet into offset in B Column of Quotation Sheet.
If Header's Qnty value present in Form sheet, then offset values in quotation sheet column B, C. Else ignore headers & qnty in B & C of Quotation Sheet.
I would be happy expert can sort my issues in the workbook.
Here I enclosed my workbook, Order Form.xlsm
Thanks in advance.
Bookmarks