Skip to content

Connecting Excel spreed sheet with VBA scripts to an Access DB

License

Notifications You must be signed in to change notification settings

Byggvir/Excel-to-Access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Excel-to-Access

Connecting Excel spreed sheets with VBA-scripts to an Access DB

Insert from Access 2

Demo for data transfer between MS Excel and MS Access

You can import or link MS Access tables and queries into MS Excel spreed sheets with simple on board tools. But these tools do not allow to set parameters in the query. To pass parameters to queries you have to use VBA scripts.

This is a collection of more or less useful examples.

Files

In DB/Datenbanken.7z you will find a test database Spielwiese.accdb and the spreasheet Spielwiese.xslm.

A VBA class for accessing Access databases is in TAAccessDB.cls (old name AccessDB) ready for import.

The files

  • InsertQueryForm.frm,
  • InsertQueryForm.frx
  • UpdateQueryForm.frm,
  • UpdateQueryForm.frx

contain two userforms. The file RibbonButtons.bas contains macros to call the sub routines from a RibbonButton.

The files TAExel2Access.xlsm and TAExel2Access.xlam contain the full application modules, the userforms and a ribbon "Access".

Insert from Access Insert from Access 2 Insert from Access 3 Insert from Access 4

under construction

About

Connecting Excel spreed sheet with VBA scripts to an Access DB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published