UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> How To Add Temp Table To Ms Word Template, Access 2010    
 
   
asimze
post Jan 14 2017, 11:52 AM
Post#1



Posts: 155
Joined: 12-December 12
From: Bosna i Hercegovina


I have table with three column and not fix number of row which I have to add to MS Word document created from template. I know how to create and open template with code, but how to work with table in new Word document. Not fix number of rows!!!
Any idea?
Asim
Go to the top of the page
 
Scott_Hall
post Jan 15 2017, 01:02 PM
Post#2



Posts: 326
Joined: 24-July 13
From: Vancouver, WA


Take a look at this: Word Add Rows

You already have the word object open so just adding a few lines to make it add a new row on each cycle of your loop should do it.


--------------------
Running Access 2010 on Windows 10
Go to the top of the page
 
asimze
post Jan 15 2017, 02:19 PM
Post#3



Posts: 155
Joined: 12-December 12
From: Bosna i Hercegovina



Scott_Hall
thanks for explanation and code. It is OK!
Asim
Go to the top of the page
 


Custom Search
RSSSearch   Top   Lo-Fi    22nd May 2017 - 10:28 AM