The workflow is described in the PowerPoint file below. Upload of shore changes to DESClogik is not necessary anymore.
DESClogik asset cleanup by Excel macros
What the macro does:
- Opens each spreadsheet in a folder of your choice.
- Standardizes font, font size, font color; fits column widths to text; removes split screens or frozen rows; removes all colored cells; sets worksheet zoom level to 100%, and removes all bracketed classifications.
- Flags duplicate samples and their offsets in an extra column to the left of the main data. If no duplicates are detected, the extra column is deleted.
- If there is nothing below the header row (worksheet not used), inserts the phrase “No data.” in cell A2.
- Saves and closes the spreadsheet. Continue until all spreadsheets have been processed and then issue a completion message to the user when finished.
How to use the macro:
- Open any spreadsheets that were flagged as changed during the post-cruise meeting. Apply the color codes as needed. IMPORTANT: If there is a color code key in the first row, delete that row. The macro is designed to work on spreadsheets with the header in the first row.
- Create a copy of your DESC spreadsheets; this is where you will point the macro.
- Run the macro.
- Open all the processed spreadsheets and check for duplicate samples. Speak with the EPM on how they want the duplicates resolved.
- Delete the “dupes” column after you resolve the issues per instructions; the color coding will disappear when you do.
- Upload to the database using the DESC asset uploading template.
- Send an email to Rakesh to flag your uploaded files for moratorium access.
- Email the appropriate Pubs Specialist, EPM, Lorri Peters, and David Houpt when you are finished.
Done!
The macro: DESC_reformer.txt
For questions see Margaret or Sandra.
Archived Versions