Use Access as a database to open microsoft word documents

Occasional Visitor

Hi there,

 

I am working on a project where I'd like to use Access as a quick reference database to open Microsoft word documents. I currently have a form with buttons on it that I would like to link to the documents in my C drive.

 

This is my current VBA code: When I try to run it I get a "Compile error: Method or data member not found" and it points do the highlighted line of code.

Nik44_0-1652745578768.png

Does anyone have any experience setting up a simple DB like this?

Any help would be greatly appreciated!

0 Replies