Creating Word Doc from Access

A

access wanna be

Perhaps this should go in Access forum, but I'll try here first.

I am creating a routine in Access that will create a doc in Word based on
fields in Access queries.

I found how to open word, create the doc, and send text.

How do I do things from the menus (sorry, my reference is from using
SendKeys to do these things (choke, choke))?

Examples:
how do I set tabs,
change font size,
make 2 columns,
Insert <name> from Access table
(I can probably figure that one out, but haven't done it yet.)

Thanks. I've looked all over MS web site and on many others and cannot find
this info.

Wanna be
 
J

Jonathan West

access wanna be said:
Perhaps this should go in Access forum, but I'll try here first.

I am creating a routine in Access that will create a doc in Word based on
fields in Access queries.

I found how to open word, create the doc, and send text.

How do I do things from the menus (sorry, my reference is from using
SendKeys to do these things (choke, choke))?

Examples:
how do I set tabs,
change font size,
make 2 columns,
Insert <name> from Access table
(I can probably figure that one out, but haven't done it yet.)

Thanks. I've looked all over MS web site and on many others and cannot
find
this info.

This article will get you started


Getting To Grips With VBA Basics In 15 Minutes
http://www.word.mvps.org/FAQs/MacrosVBA/VBABasicsIn15Mins.htm

Once you have been through that, by all means come back if you are still
stumped on particular points.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top