{"id":18937066,"url":"https://github.com/rsge/office-vba-utilities","last_synced_at":"2026-01-26T18:50:15.381Z","repository":{"id":168189825,"uuid":"433825504","full_name":"Rsge/Office-VBA-Utilities","owner":"Rsge","description":"A collection of various VBA scripts for different applications in MS Office, as well as some speed tests.","archived":false,"fork":false,"pushed_at":"2025-11-21T13:36:02.000Z","size":226,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-21T15:27:49.633Z","etag":null,"topics":["collection","excel","macros","office","outlook","speedtest","vba","vba-excel","vba-outlook","vba-word"],"latest_commit_sha":null,"homepage":"","language":"VBA","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rsge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-01T12:51:43.000Z","updated_at":"2025-11-21T13:36:06.000Z","dependencies_parsed_at":"2024-01-09T15:58:11.879Z","dependency_job_id":"5ee99a9e-d833-4a66-8c96-7e034cb701ff","html_url":"https://github.com/Rsge/Office-VBA-Utilities","commit_stats":null,"previous_names":["rsge/office-vba-utilities"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rsge/Office-VBA-Utilities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsge%2FOffice-VBA-Utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsge%2FOffice-VBA-Utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsge%2FOffice-VBA-Utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsge%2FOffice-VBA-Utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rsge","download_url":"https://codeload.github.com/Rsge/Office-VBA-Utilities/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rsge%2FOffice-VBA-Utilities/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28785168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collection","excel","macros","office","outlook","speedtest","vba","vba-excel","vba-outlook","vba-word"],"created_at":"2024-11-08T12:09:41.284Z","updated_at":"2026-01-26T18:50:15.354Z","avatar_url":"https://github.com/Rsge.png","language":"VBA","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Office VBA Utilities\nA collection of different VBA modules for different applications in MS Office.\\\nIt's broken up by Office application, then Office file intention.\\\nA speed test section is also included to test different approaches' processing speeds.\n\nAll documents contain annotations used by [Rubberduck](https://rubberduckvba.com), an addon to the VBA editor adding lots of useful features, therefore \"bringing it into the 21st century\".\\\nI'd also recommmend making a few adjustments to the VBA editor's settings as seen in [this Stackoverflow comment](https://stackoverflow.com/a/667225/17239990).\n\n### Excel\n* `BasicUtilities` contains modules for automated clearing of specific part with prior confirmation and un-/protecting the document via bindable macro.\n* `Finders/DifferingEntriesFinder.bas` lists all entries in the active sheet's first column that aren't present in the first sheet's first column. Also copys results to clipboard.\n* `Finders/EntryEqualizer.bas` deletes all entries in the active sheet's chosen column that aren't present in the first sheet's first column.\n* `Finders/UsedColumnsFinder.bas` lists all columns' headers in a text file, whose content isn't the same in every cell.\n* `Fixes/ZipCodesFix.bas` fixes the US state abbreviation letters being put in front of the zip code instead of after the city in a table with column names.\n* `Imports` contains modules for importing boolean or string values as text info for entries in an Excel sheet from a text or excel file.\n* `InventoryUpdating` contains modules for importing data from multiple CSV files with relevant data on the last line into a table in excel, creating a backup of the current worksheet before making changes.\n* `ProductionPlanning` contains modules for different calculations related to and needed for planning production, e.g. finding holidays and calculating production capacities.\n\n### Outlook\nModules with the `.cls` extension have to go into the `ThisOutlookSession` module or have to be called from there to work.\n* `BulkEditContacts.bas` allows for bulk-editing of contacts.\n* `DeleteSentFromSender.cls` deletes all mails of a specific sender address from the Sent folder permanently on Outlook startup.\n* `JunkMailBlackWhiteList.bas` force-whitelists mails under specified conditions and blacklists all addresses in a provided (linebreak-separated) text file (because \"normal\" rules are limited in max number of mails).\n* `MoveFromFolderToFolder.bas` moves all mails from one folder to another reliably one by one.\n* `MoveToCorrectSentFolder.cls` moves each sent email to the correct mailbox' Sent Elements folder. (Because per default they go into the main account's.)\\\nThere is also a [registry fix](https://github.com/Rsge/Windows-Error-Fixing-Scripts/blob/main/Set%20Outlook%20delegate%20sent%20items%20folder.reg) for this.\n\n### Speed tests\n* `AssignEmptyStringTest.bas` compares different methods to create an empty string.\n* `AssignSpaceTest.bas` compares different methods to create a string of a space.\n* `CompareNumberTest.bas` compares different methods to compare a number to another.\n* `DoesStringStartWithTest.bas` compares different methods to determine if a string starts with another string.\n* `DoesStringEndWithTest.bas` compares different methods to determine if a string ends with another string.\n* `IsStringEmptyTest.bas` compares different methods to determine if a string is empty.\n* `IsStringEqualToStringTest.bas` compares different methods to determine if a string equals another string.\n* `IsStringInStringTest.bas` compares different methods to determine if a string contains another string.\n\n### Word\n* For `Sequentially numbered copies`, `ThisDocument.doccls` and either the `MultiPage` (MP) or `SinglePage` (SP) files need to be used to achieve a running number of printed pages on the page with the ability to set a starting value on print.\n* `BulkRegexReplace.bas` allows for bulk replacement of text in all documents in a folder and it's subfolders via multiple regexes.\n* `HotkeyActions.bas` adds a few actions I always use as subs so that, imported in the `Normal` project, they can be given a hotkey for easy use. (File – Options – Customize the Ribbon – Keyboard shortcuts: Customize... – Scroll down and select \"Macros\" on the left)\n* `Unification.bas` allows for bulk unification of headers and/or format templates of all documents in a folder and it's subfolders.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsge%2Foffice-vba-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsge%2Foffice-vba-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsge%2Foffice-vba-utilities/lists"}