Dear Forum Member,
I have a spreadsheet having 2 Invoice Templates containing data, one is of Retail Bill (Sheet 1) and another of Wholesale Bill (Sheet 2). I have a submit button on both sheets with same type of VBA code, one in Module1 for Retail bill and second in Module 2 for wholesale Bill. They both work finely. The problem is When I press the submit button, the data from the Retail Bill gets copied and pasted on a table range from Cell ("AA3") onwords upto ("AQ3") on the same sheet. This table is common in all 3 sheets. Sheet1 renamed "Retail Bill", Sheet 2 renamed "Wholesale Bill", and Sheet3 renamed as "Entries".
I want the data of Retail bill to be tranfer d to Sheet 3 ("Entries") Table already created.
I want the data of Wholesale bill to be tranfer d to Sheet 3 ("Entries") Table already created.
I mean whenever the submit button of both Invoices Retail or Wholesale is pressed the Data should go to the same sheet 3("Entries).
I tried changing the sheet nos, but was unsuccessful. I am not so good at Excel VBA.
If the entries of both bill go to same sheet 3, it will help me create a single inventory instead of 2.
File is attached (Invoice Sample- Binary Excel file still works with VBA coding. Excel 2007.
I need that code which can transfer data to sheet 3 ("Entries")
Thank in advance,
Regards,
Mukhtar
I have a spreadsheet having 2 Invoice Templates containing data, one is of Retail Bill (Sheet 1) and another of Wholesale Bill (Sheet 2). I have a submit button on both sheets with same type of VBA code, one in Module1 for Retail bill and second in Module 2 for wholesale Bill. They both work finely. The problem is When I press the submit button, the data from the Retail Bill gets copied and pasted on a table range from Cell ("AA3") onwords upto ("AQ3") on the same sheet. This table is common in all 3 sheets. Sheet1 renamed "Retail Bill", Sheet 2 renamed "Wholesale Bill", and Sheet3 renamed as "Entries".
I want the data of Retail bill to be tranfer d to Sheet 3 ("Entries") Table already created.
I want the data of Wholesale bill to be tranfer d to Sheet 3 ("Entries") Table already created.
I mean whenever the submit button of both Invoices Retail or Wholesale is pressed the Data should go to the same sheet 3("Entries).
I tried changing the sheet nos, but was unsuccessful. I am not so good at Excel VBA.
If the entries of both bill go to same sheet 3, it will help me create a single inventory instead of 2.
File is attached (Invoice Sample- Binary Excel file still works with VBA coding. Excel 2007.
I need that code which can transfer data to sheet 3 ("Entries")
Thank in advance,
Regards,
Mukhtar