K
Keith G Hicks
I have 1 page a word doc (2000) with lots of frames and book marks. I
programatically put text in at the book marks via automation in foxpro.
That works fine. Don't need help with that at all. After the bookmarks are
all set, I do the following to copy and paste the entire doc into the front
of a different doc:
oWord.Selection().WholeStory && like CTRL+A
oWord.Selection().Copy() && like CTRL+C
oDocNew.Activate
oWord.Selection().Paste() && like CTRL+V
Basically this works fine except for one thing. The frames just go wherever
they want. I even tried setting the margins in the new doc to match those
in the first doc. Doesn't help. Things just scatter all over like they
have a mind of their own. I've also tried moving the frames to another page
in the doc they were originally in (manually), but they won't go to a
different page. What is up with these creatures? I would use text boxes
because you seem to hvae more control over their behavior, but you can't
"locate" a bookmark in a text box thru automation (bug or stupid design).
Any help would be appreciated.
Thanks,
Keith
programatically put text in at the book marks via automation in foxpro.
That works fine. Don't need help with that at all. After the bookmarks are
all set, I do the following to copy and paste the entire doc into the front
of a different doc:
oWord.Selection().WholeStory && like CTRL+A
oWord.Selection().Copy() && like CTRL+C
oDocNew.Activate
oWord.Selection().Paste() && like CTRL+V
Basically this works fine except for one thing. The frames just go wherever
they want. I even tried setting the margins in the new doc to match those
in the first doc. Doesn't help. Things just scatter all over like they
have a mind of their own. I've also tried moving the frames to another page
in the doc they were originally in (manually), but they won't go to a
different page. What is up with these creatures? I would use text boxes
because you seem to hvae more control over their behavior, but you can't
"locate" a bookmark in a text box thru automation (bug or stupid design).
Any help would be appreciated.
Thanks,
Keith