Hello Forum Members,
I have to maintain the sales data in a workbook. This workbook has two sheets, one is Input Data and the other is Daily Sales.
In Input Data sheet I input the sale data of the salesmen who have sold an item that day. The size of data may vary everyday.
I am new to vba and trying to do this step by step (Please see the code). I don't know if I have written the code correctly but its working for me. There may be some better way to write it but this is beyond my capability.
Now I am stuck at some point that how can I check whether a salesman no. is present in Input Data sheet and not present in Daily Sales sheet, and if so I need to put that salesman no. and its record in last empty row of Daily Sales Sheet. And if it is found in both sheet, I have to calculate that how much items every salesman has sold today. In Input Data sheet the "sold items" column contains the total sold items so far and I get new data everyday.
On Daily Sales sheet, after transferring the initial data from the Input Data sheet, I have to enter the today's date in cells E1,F1,G1,H1.....and so on, so that I know how many items every salesman is selling everyday.
This scenario may be easy for you members, but I am totally lost. So I need the guidance from you experts that how to write a code for the above scenario.
Thanks in advance.
Bookmarks