Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word 7 Macro 1

Status
Not open for further replies.

dcomit

Technical User
Jun 20, 2001
115
GB
I have written some VB code to query an Access database using SQL and it works ok.
I've tried to use the code in a Word macro but VBA doesn't recognise the database functions. Is it possible to get this functionality in a Word macro?
 
Set reference to the Access Type Library. Got to the VBE by hitting Alt+F11. Gp tp tools, references and select Microfsoft Access 8.0 or 9.0 as applicable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top