{"id":50906926,"url":"https://github.com/stenci/exceltogit","last_synced_at":"2026-06-16T06:02:50.892Z","repository":{"id":53203862,"uuid":"44030867","full_name":"stenci/ExcelToGit","owner":"stenci","description":"Export Excel workbook macros and data to Git friendly text format","archived":false,"fork":false,"pushed_at":"2019-11-08T22:11:55.000Z","size":582,"stargazers_count":25,"open_issues_count":0,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-10-05T22:34:40.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Visual Basic","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stenci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-10T22:34:46.000Z","updated_at":"2023-10-05T22:34:40.689Z","dependencies_parsed_at":"2022-09-15T01:56:54.117Z","dependency_job_id":null,"html_url":"https://github.com/stenci/ExcelToGit","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/stenci/ExcelToGit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenci%2FExcelToGit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenci%2FExcelToGit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenci%2FExcelToGit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenci%2FExcelToGit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stenci","download_url":"https://codeload.github.com/stenci/ExcelToGit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenci%2FExcelToGit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34393302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-16T06:02:48.247Z","updated_at":"2026-06-16T06:02:50.876Z","avatar_url":"https://github.com/stenci.png","language":"Visual Basic","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deprecated: ExcelToGit\nThis project has been superseded by [VbaGitSync](https://github.com/stenci/VbaGitSync). It is more robust, modular, and actively maintained.\n\nThis repository is no longer maintained.\n\n# ExcelToGit\nExport Excel workbook macros and data to Git friendly text format.\n\nThe macro exports all the VBA code to .bas, .cls and .frm files and all the worksheets to .csv format.\n\nAddins (.xla files) are temporarily set to `.IsAddin = False` in order to select the sheets and export them as .csv.\n\nThe macro first exports each sheet as .csv, then saves the file back with its original format.\nThe side effect is that the next time the file is opened, Excel may not trust it and ask to enable the macros.\n(I haven't seen this happening in a long time, I don't know if it's the result of my configuration of some Microsoft \nupdates.)\n\nIn order for the VBA macro to export the VBA code an Excel setting must be changed:\n* In Excel 2003 and earlier: go the Tools - Macros - Security, then click on the Trusted Publishers tab and \ncheck Trust access to the Visual Basic Project. \n* In Excel 2007 and later: click the Developer item on the main Ribbon, then click the Macro Security item in the \nCode panel, then in the Macro Settings page check the Trust access to the VBA project object model.\n\n### Examples\nThe first 5 rows are examples use cases, the following row is the real one that I use for this addin. \nHere is the description of the 5 examples:\n\n#### Addin.xla\nThe addin is located on the AppData folder and is installed, so it is always loaded. I don't like to keep the git files \nin the AppData folder, and I don't like to uninstall/install the addin every time I need to export to the text files. \nSo I configure it with two different folders, and clicking on **Export** will create all the text files \nin **Git folder** and copy the original file from **File to export folder** to **Git folder**. \n\n#### Macro.xlsm\n**Folder** and **Git folder** are the same because this is not an addin, so it is not installed, so it is possible to \nkeep it on the same folder with the git files.\n\n#### App\nThis is not an Excel file. It is just like any other app with its own git rpository which includes two Xl folders, each \nwith its own Excel file and its macros. The **Export** button here is missing, because there are no Excel macros or \nsheets to export.\n\n#### App1.xlsm and App2.xlsm\nThese are two Excel macros, each living in its folder with its exported text files created by clicking on the \n**Export** button. The **Git gui**, **gitk** and **bash** buttons are missing because the git repository that includes \nboth the macros is **App**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstenci%2Fexceltogit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstenci%2Fexceltogit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstenci%2Fexceltogit/lists"}