Copy Table to Word Document

jaydwest

JayW
Local time
Today, 00:31
Joined
Apr 22, 2003
Messages
340
Here's an interesting issue.

I want to copy a table from Access to a Word Document Table. I have tried copying a table in a form, but Access adds Subform Name, and Column Heads in gray format and I really don't want all the extra stuff.

So I decided to build a string tab delimited for the table, set a textbox's Control Source as the string. THen I set focus in the texbox and use the docmd.runcommand accmdcopy command. It works great when I paste it into Word. It pastes text, tab delimited in the document.

My question is is there any code I can embed in my string to tell Word that this is a table?

Thanks in Advance for your comfort, wild ass guesses, or help
 
Query in Word Help on "MS Access".

You should find a topic called

"Insert Microsoft Access data into a Word document"

Now in the section "What do you want to do?", select this topic

"Insert the contents of a Microsoft Access table or query into an existing Word document"

HTH,

RV
 

Users who are viewing this thread

Back
Top Bottom