Andrew Quirl
New Member
Data validation by row - the purpose of this macro is to 'clean up' a data set by analyzing each row, then submit the data set to an email address. Attached file "data dump" is an example of an unclean data set. Attached file "data validation by row" is the cleaned up result we are trying to achieve.
- to either delete the row or to keep the row based on if it includes one of a list of possible values:
- valid date
- order:
- any of the numerical values 12345 thru 12363 as shown in the result file rows 3-21
- to pick out the purchase order number which will occur after keyword "order:"
- name the file using the purchase order number as the name, automatically email the workbook to an email address and close the workbook without saving.
- to include a particular value "fakename" in the subject line of the email.
Attachments
Last edited: