Multi-user file with Excel/VBA front-end, *sql* back-end?

Ramachandran

New Member
Joined
Oct 17, 2011
Messages
47
In my current system I have one Excel file where the user interacts through forms and data are written to a hidden sheet mimicking a database.
Conversely whenever a sheet is opened it is populated with data from the hidden sheets. All cells are locked for editing, every user input is through a form with the proper constraints, the input is processed through VBA and then written/read.
The "database" contains one sheet with all employees and employee data with an unique identifier,
and a few other sheets linking the employeeID with work schedules, etc.

The Macro-enabled Excel file is located on a server, and a few people use it every day - one at a time.
Naturally it would be better if several people could open the file at the same time - while keeping data integrity.

Any tips on how to go about?
SQLite, MySQL, Access, write-to-and-read-from-csv,...?
Further reading?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Another question:
The excel file (xlsm) is located on a server.
Any strategies on how to be able to let several users use "the file" at the same time?
That is, to use the forms to write to the DB and open its sheets that reads from the DB?

Open the file, duplicate it (filename_username.xlsm), close the main file, delete filename_username.xlsm when close?
 
Upvote 0
You don't need an xlsm if you use Access, if you do still want to use it then everyone may open the same spreadsheet as read-only
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top