An automation utility for Microsoft Excel that streamlines document revision tracking. This VBA macro automatically opens hyperlinked documents in a web browser, extracts the revision level from the browser tab title, and records the data directly into the active worksheet.
- π Browser Integration: Automatically iterates through defined cell ranges and opens links in the default system browser (Chrome, Edge, or Firefox).
- π Intelligent Extraction: Dynamically searches active window titles for "Rev" identifiers and captures up to 4 subsequent characters.
- π§Ή Automated Cleanup:
- Removes active hyperlinks while preserving text values and cell formatting.
- Re-applies borders and gridlines to affected ranges for a clean final report.
- Deletes temporary form controls and UI buttons used during the process.
- π Macro-Free Output: Automatically saves a copy of the processed workbook as a standard
.xlsxfile for distribution or archiving. - π Audit Logging: Records completion timestamps (Date and Time) directly into designated summary cells.
- Host: Microsoft Excel 2016 or later (Windows-based).
- Dependencies: Uses
user32.dllandkernel32.dllAPI calls for window management and execution pauses. - Compatibility: Fully compatible with both 32-bit and 64-bit Excel installations via
PtrSafedeclarations.
- Prepare: Open the workbook and ensure your hyperlinks are located in the defined ranges (A3:A32, G7:G8, G12:G22).
- Execute: Navigate to
DeveloperβMacrosβExtractChromeTabRevand click Run. - Review: The macro will handle tab switching and extraction automatically. Once complete, a summary message will appear and a cleaned file named
Quattro Revisions.xlsxwill be generated.
Jason Sparks - GitHub Profile
This project is licensed under the MIT License - see the LICENSE file for details.