haisathya89
New Member
- Joined
- Sep 9, 2011
- Messages
- 1
- Office Version
- 2021
- Platform
- Windows
Hi team,
I don't have knowledge in VBA coding but i tired with internet search for the requirement. But unable to find the proper solution for my requirement. Hope, i get a solution from the forum.
i have attached the image of the sample data(actual data gets bigger) from the sheet named "datainvoice".I have two sheets. one is datainvoice and other is invoiceforviewing. i need to extract the data from Column O to Column V of sheet datainvoice to range B24:I41 of sheet invoiceforviewing when a enter P.Invoice no in Cell H4 of sheet invoiceforviewing
Step 1:
it has to lookup or find the occurrence of the P.Invoice no in column B of sheet datainvoice
Step 2:
Once the cell in Column B has the user entered P.Invoice no and for each each occurrence of the P.Invoice number, the data from Column O to Column V of sheet datainvoice has to be extracted and stored to array or any virtual memory.
Step 3:
the extracted data has to be sorted using the values (i.e serial number) from Column O in ascending order
Step 4:
Transfer the extracted to the range B24:I41 of sheet Invoiceforviewing without any errors
if i enter 140/23-24 in cell H4 of sheet Invoiceforviewing, the resultant should be like the below with sorted in ascending order
Hope , I explained my requirement properly. It will be great if you help me to find the solutions.
Thanks in advance.