This is an acknowledged error by Microsoft - the description and work-around are found at:
http://support.microsoft.com/?kbid=188546
This info may be a bit late but I was having the same problem and so may others. Hope this helps.
I am writing a macro to convert a picture (inlineshape) to a shape and want to anchor it to a certain paragraph on the page. When I specify the anchor I get error 438 -object doesn't support this property or method - though it is shown in the object browser. Do I not have a certain reference set...
Dear Jay,
Unfortunately I never did figure it out. Have been working on another project since May but will be getting back to this one in a month or so. Will let you know if I discover anything and if you come up with any thoughts, please let me know. Thanks.
Beth
I have a word document that I am merging data into from access. The first time I can open and merge data fine, but if the user closes the word doc, I get an automation error when I try to reopen it the second time for another merge. If I restart access, no problem.
Here is my code.
Public...
Here's how I copy bookmarks from a template and then paste them to the end of my catalog document so I can continue to merge more records. Hope this helps!
strTemplPath="C:\yourpath\"
'Start Word and get template info
On Error Resume Next
Set objWord = GetObject(...
In case anyone is interested, I found the problem - a bookmark always equals "" - you have to use the on error to see if it is set. I removed the line If f.Bookmark = "" Then Exit Sub and the routine worked. Also the code was a sample from the Northwind database - works well...
I found this example somewhere and use it to save my main form and have two more subs similar to this to save two subforms in case the user wants to undo the data. It was working at one point but now the bookmark is always zerolength as it would be for a new record even when I open the form with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.