Okay, so after spending 16 hours a day for the last couple of days working on reformatting the attached workbook to more closely align with daily OPs, I am to the finish line but there's one more thing I want to be able to do from each Order Worksheet:
Once I have all order details entered, there's a table to the very top right of the actual order worksheet that contains data that has to get sent in an email. As one can see, I've already got a button marked, "Send Flagged Email" and here is what I would like to happen when I click on it (it used to just be an email link (still there, but will be deleting once I get this button working), but that still involved too many steps to complete for every single order entered, hence the Macro for the button):
On Click:
1. Open a new Outlook Email window, with a predetermined group email address entered in the "To" field
2. Enter "Flagged Order: "in the Subject line, then copy and paste the value from $N$1, followed by a space, then copy and paste the value from $M$3 & $N$3, also in the subject line, resulting in the following Subject Line: "Flagged Order: US FOODS California (4C) SRF# 45779"
3. Copy and paste cell range $M$1:$T$15 into the very top of the email, BUT DO NOT SEND - I may have need to enter more info/details before the email gets sent.
Any VBA geniuses that would like to show me the code to generate for this Macro, and tell me how to save it to my Workbook so I can assign it to the same button on all ten Order worksheets? I tried just recording a new Macro doing all the steps above, and that did nothing but highlight $M$1:$T$15 and sit there looking at me like I'm a moron when I clicked the button.
Thanks in advance,
Bryan
Final Stretch.xlsx
Bookmarks