OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

The Best Practice? Import a document into a named table

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Pastor
General User
General User


Joined: 30 Jun 2009
Posts: 7

PostPosted: Wed Jul 01, 2009 11:19 am    Post subject: The Best Practice? Import a document into a named table Reply with quote

I have a template with a number of 1x1 tables, each with their own name.
I want to "automagically" fill each cell with a particular document.

Table "Fred" gets document "Fred"
Table "Bill" gets document "Bill"
Table "Jane" gets document "Jane"

What's the best practice for doing this?

Thanks

Pastor
Back to top
View user's profile Send private message AIM Address
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Wed Jul 01, 2009 1:16 pm    Post subject: Reply with quote

Click into table Fred and do Insert > File > Fred.
Back to top
View user's profile Send private message
Pastor
General User
General User


Joined: 30 Jun 2009
Posts: 7

PostPosted: Wed Jul 01, 2009 1:42 pm    Post subject: Reply with quote

JohnV wrote:
Click into table Fred and do Insert > File > Fred.


That's obvious, but not "automagic".
I want to automate the process so I don't have to do it by hand. Recording a macro doesn't work because the macro doesn't identify the table by name, and there are as many as 15 named tables (and an equal number of fields) in the document.
The Fields I can set up to be user input fields and I'm prompted for the correct information for that day.
It's the table data that has me stumped.

In my old word processing program, this was VERY easy to do with a Macro. I'd hit "Run macro, the macro would go to the proper subdirectory and read the name of the files and pull in the prober file.

I'm very new to this and haven't had time to learn the macro language.

Pastor
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group