Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
MorningStarFan MorningStarFan is offline
external usenet poster
 
Posts: 7
Default create a word table in vba from ms access 2003

Does anyone know if I can create a word table in vba from ms access 2003? I
got one table created by creating a macro in word and lifting the code out
and inserting it into my access form. After the one table was created I began
to get an error- with object or with block variable not set... the next time
I tried to run the code from my access db form.
TIA,
--
MorningStarFan
  #2   Report Post  
Posted to microsoft.public.word.tables
Helmut Weber Helmut Weber is offline
external usenet poster
 
Posts: 139
Default create a word table in vba from ms access 2003

Hi MorningStarFan,


Does anyone know if I can create a word table in vba from ms access 2003?

Sure.

see:
http://word.mvps.org/faqs/interdev/E...ateBinding.htm
http://word.mvps.org/faqs/interdev/c...wordfromxl.htm

Whether Excel or Access shouldn't matter.

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"


  #3   Report Post  
Posted to microsoft.public.word.tables
MorningStarFan MorningStarFan is offline
external usenet poster
 
Posts: 7
Default create a word table in vba from ms access 2003

Thanks! I found out how to create a table and insert some text. Now I am
trying to control the placement of the table in my document. Also, creating
the table causes exclusion of some of my other text that is created in the
document that will be created when I comment out my code that's creating the
table. Do you know the syntax well enough to help?
--
MorningStarFan


"Helmut Weber" wrote:

Hi MorningStarFan,


Does anyone know if I can create a word table in vba from ms access 2003?

Sure.

see:
http://word.mvps.org/faqs/interdev/E...ateBinding.htm
http://word.mvps.org/faqs/interdev/c...wordfromxl.htm

Whether Excel or Access shouldn't matter.

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems importing an Access 2003 Query into a Word 2003 File DJMoran Mailmerge 1 January 21st 07 01:37 PM
Inability to see queries in complicated access files: 2003 access& bird lover Mailmerge 1 December 29th 06 09:02 PM
insert fields from access into a word 2003 table lcrogers Tables 2 February 8th 06 09:05 PM
Can Word 2003 mail merge an Access value from a look-up table? Marge Mailmerge 1 January 17th 06 04:59 AM
insert fields from access into a word 2003 table lcrogers Tables 2 February 7th 05 11:11 AM


All times are GMT +1. The time now is 09:46 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"