Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Using ado/sql with excel vba

Using ado/sql with excel vba

Using ado/sql with excel vba

Hiya, can anyone tell me if it is possible to have a master excel workbook that can be updated via vba with ado/sql? I know I can read from the master workbook using another workbook and the ado connection but I can’t remember if the updating records was still available. Basically I will have a master workbook acting like a database, then user workbooks will query the master db, update fields etc then move on to the next record. I would rather that approach compared to a shared workbook as with ado I don’t need to open the master db workbook and if I remember correctly it is also a lot faster.

Does anyone know if this is possible?



RE: Using ado/sql with excel vba

Turns out it is possible



RE: Using ado/sql with excel vba

Why not access database, at least as a back-end? It is in Office 365 package. If not, one can create JET database using ADOX.


RE: Using ado/sql with excel vba


Like most bits I work on the user has an excel document that they want to keep working with. Essentially there will be a manager’s excel workbook where they populate data, then there will be user workbooks that will pull data from the manager workbook, amend column data then push the updates back to the managers workbook. It screams backend database but alas user requirements.



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close