Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spences10/VBA-Import-Eport-to-SQL-Server
Excel with validation for a SQL server backend
https://github.com/spences10/VBA-Import-Eport-to-SQL-Server
database importexport sql-server vba
Last synced: 9 days ago
JSON representation
Excel with validation for a SQL server backend
- Host: GitHub
- URL: https://github.com/spences10/VBA-Import-Eport-to-SQL-Server
- Owner: spences10
- License: mit
- Archived: true
- Created: 2016-10-23T07:51:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-16T15:54:29.000Z (over 7 years ago)
- Last Synced: 2024-08-13T07:04:46.433Z (4 months ago)
- Topics: database, importexport, sql-server, vba
- Language: PLpgSQL
- Size: 83 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - spences10/VBA-Import-Eport-to-SQL-Server - Excel with validation for a SQL server backend (PLpgSQL)
README
# VBA Import Export to SQL server
# Description
This is an example of using Excel for a front end for SQL server using Excel to validate your data.
It has validation in it to notify the user of the database constraints.
# Build
This whole project is solely dependant on you having either a local instance SQL server or a SQL server you can create the sample-model.sql database in.
The files sample-model.slq and sample-data.sql should be used to create the database and data for this project, the scripts were taken from http://www.dofactory.com/sql/sample-database which is a simple database for this project to run from.
Once the database and data scripts have been run then you will need to create the stored procs used by the project spGetAllSupplierProducts.sql, spInsertProducts.sql, spSupplierList.sql and spUpdateProducts.sql.
ImportExport.xlsm is stored as a BLOB instead of being created say via a ps script as it has worksheet controls and some code contained for worksheet events.
You will need to import modImportExport.bas and modValidation.bas, you should then be able to run the Import from the Control sheet of the ImportExport.xlsm workbook.
# Still to come
# Contributing
Please fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, bugfixes and integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.