Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / May 2006

Tip: Looking for answers? Try searching our database.

Office 2007 & Ole Automation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin - 26 May 2006 00:03 GMT
Hello,
Just playing around with the beta release and I was wondering if there is a
trick to get ole automation working in the new version?  

We have a database application that we've interface into Word to merge data
from our Application into a Word document.  

The new 2007 Word runs perfectly under our Application, however when we try
to merge data the "bookmarks" (fields) are not updated.  

Is there something new we need to be aware of?  

Thanks much for any help.  Love the new UI, can't wait to get into it a
little deeper!
Doug Robbins - Word MVP - 26 May 2006 13:13 GMT
We would need to see the code that you are using.

The Visual Basic Fields.Update command certainly works as in previous
versions of Word.

I have not had any issued with running any of my applications under Office
2007.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hello,
> Just playing around with the beta release and I was wondering if there is
[quoted text clipped - 13 lines]
> Thanks much for any help.  Love the new UI, can't wait to get into it a
> little deeper!
Kevin - 26 May 2006 20:37 GMT
Thank Doug,

Actually what I've found is that documents created in Word 03 open,  and
merge data just fine in Word 07.  

Documents that I am attempting to create in Word 07 do not merge.  OUr
program runs but the "bookmarks" do not update.  

I think it's a compatibility issue of some sort.  

> We would need to see the code that you are using.
>
[quoted text clipped - 21 lines]
> > Thanks much for any help.  Love the new UI, can't wait to get into it a
> > little deeper!
Doug Robbins - Word MVP - 27 May 2006 07:39 GMT
Need more information to be able to help.

What code is being used in Access.  Are you sure you have the right bookmark
names etc, etc.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Thank Doug,
>
[quoted text clipped - 33 lines]
>> > Thanks much for any help.  Love the new UI, can't wait to get into it a
>> > little deeper!
Kevin - 27 May 2006 07:57 GMT
Hi Doug....thank you again.  Access is not in the mix.  The database is
"Advantage Database Server".  

I did find a work around.  If I create a file and then save it back in 2003
format, and then reopen it my "bookmarks" populate as expected.  We'll have
to figure this compatability issue out before the final release of Office
2007, however I'm sure its the new file format that is not getting along with
your program.  

I do appreciate your help.  

> Need more information to be able to help.
>
[quoted text clipped - 38 lines]
> >> > Thanks much for any help.  Love the new UI, can't wait to get into it a
> >> > little deeper!
Doug Robbins - Word MVP - 27 May 2006 10:38 GMT
I am not sure what code your are using to populate the bookmarks, but

ActiveDocument.Bookmarks("test").Range.InsertBefore "This is a test"

works in documents created from both dotx and dotm templates

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hi Doug....thank you again.  Access is not in the mix.  The database is
> "Advantage Database Server".
[quoted text clipped - 58 lines]
>> >> > it a
>> >> > little deeper!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.