I am trying to make some improvements to a purchase order tracking workbook. Every purchase order is entered in the Open spreadsheet with certain information, PO#, Quoted Delivery, Order Quantity, etc. If a given PO# has multiple line items, each line item is entered in separate rows, but share info such as PO#, Date, Quoted Delivery, etc. More information is entered as we receive the items. The Date Received is entered as each line item is received. The PO Completed Date is entered when all line items have been received for a given PO#.
I would like to write VBA that will make initial entry, receiving updates, and data sorting, easier/faster and more automated to eliminate errors.
Needing to do something to the effect of this:
If I enter the same value in Column A of Row 3 as was in Column A of Row 2, I want the values of Column B, C, & D of Row 3 to auto-populate with the same values from those columns in Row 2. This is to make initial entry easier/faster/more accurate.
If I enter a date in Column O, PO Completed Date, I want it to copy that date to all other rows sharing the same PO# in Column A. This is to make entries when receiving the order easier/faster/more accurate.
If there is a date in Column O, I want those rows copied to the Closed worksheet, and deleted from the Open worksheet. This is to move the data from Open to Closed automatically once a PO Completion Date is entered.
Also......Can I also write code that will merge the cells of Column O on the 'Closed' worksheet if they share a value in Column A? I want to do this to make it easier to sort through old PO#s to see which ones were on time and which ones were late without the clutter. I know merging cells can mess with the sorting and other things later so I don't want to do it unless I'm sure nothing will slip through the cracks in a sorting operation.
I know it was hard enough just figuring out and explaining what exactly I want it to do, so hopefully this makes sense. I've received great help here in the past and I'm sure this is doable as long as I explained it correctly. Thanks in advance
Bookmarks