Re: Error# 5852 Requested Object Is Not Available



The first thing that I would do is see if you can execute the merge
manually. You said that was the next thing you were going to do. Make it
the first.

--
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

<heatherpanek@xxxxxxxxx> wrote in message
news:1151505672.858593.131150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I haven't tried to run it manually, that was my next step though (to
try to recreate the merge/datasource connection).

The file that has the information in it to do the merge from (it is a
text file created earlier in the script) is in the same location as the
"templates" for the main merge document. All of these locations are on
a server which both profiles have access to. I can see that the data
source has been updated by the timestamp, but it just won't create the
merges/open the new documents step.

I have copied just about everything that I can (that isn't read-only
locked) from the original profile to the new profile. I've even copied
over the normal.dot, thinking that may be part of the issue. I've also
looked in Word under the original profile for Add-Ins or COMs, but
there are none listed. I am truely at a loss for this!!! Any other
ideas of something I may be missing?

Thanks in advance,
HP


Doug Robbins - Word MVP wrote:
Can the merge be run manually when logged in under the second profile. I
suspect that the datasource is not available to that user because it is
in
the original users C:\Documents and Settings\[username]\My Documents\My
Data
Sources folder.

--
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

<heatherpanek@xxxxxxxxx> wrote in message
news:1151443587.208670.206530@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a VB Script that executes to create a mail merge. The only
problem is that it works fine under one Windows profile, but when I log
in as a different user (same rights), it fails with the above error
message. What am I missing? A template? A registration?

The script executes correctly until this is performed (which is when I
get the error message listed above):

With oWord.ActiveDocument.MailMerge
.Destination = wdSendToNewDocument
.Execute
End With

Again, this works when executed under one profile, but not the new
profile.

-Heather
heatherpanek(at)gmail.com




.



Relevant Pages

  • Re: Error# 5852 Requested Object Is Not Available
    ... locked) from the original profile to the new profile. ... Doug Robbins - Word MVP wrote: ...
    (microsoft.public.word.mailmerge.fields)
  • Re: calculation of execution time of assembly code in a realtime program with large number of tasks
    ... meaning that you can analyze how long your code takes to execute. ... You can profile, count the number of clock cycles, a function by adding ... on any line inside the dotp() function and right click. ... You can also add a particular line of the code to the profile session. ...
    (comp.arch.embedded)
  • Consequences of removing Execute permisssions on %userprofile% path?
    ... I've noticed that Google takes advantage that permissions on the ... executables under their profile folders and execute them from there. ... Earth into the user's profile folders knowing that the Execute ... Should users be executing programs from their %userprofile% path? ...
    (microsoft.public.windowsxp.general)
  • Re: Disabling Execute access in Documents and Settings?
    ... I like the idea about disabling execute for files only in a user profile and may be ... default profile permissions assigned to a user when their profile is created, ... > cross-site scripting vulnerability. ...
    (microsoft.public.win2000.security)
  • Re: error
    ... >>You will need to export the Outlook Express Address Book ... >>Doug Robbins - Word MVP ... >>> and it tells me there is no profile. ... >>> profile and will this take care of missing file?? ...
    (microsoft.public.word.mailmerge.fields)