Hello and welcome to PC Review. Have you tried redefining the datasource; go through the mailmerge wizard again. Your name or email address: Do you already have an account? John Nurick, Aug 22, 2006 #2 Advertisements Mo Guest John Nurick wrote: > Hi Mo, > > Set a breakpoint on the line > If CreateWordObj() Then > and then step http://forumyaren.com/visual-basic/visual-basic-run-time-error-525.php
Connect with top rated Experts 16 Experts available now in Live! All rights reserved. Intelligence you can learn from, and use to anticipate and prepare for future attacks. Register now while it's still free! https://social.msdn.microsoft.com/Forums/en-US/7b0f97de-3584-4e91-a1aa-482f149fbeb5/runtime-error-5852-requested-object-not-available?forum=vbgeneral
There can be many events which may have resulted in the system files errors. Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Doug Robbins - Word MVP wrote in message oups.com...
Are you aComputer / IT professional?Join Tek-Tips Forums! It is a lot smaller, and hopefully more maintainable It captures the main document into a variable, to avoid the ambiguity of the ActiveDocument Sub mailmergetemp2() Dim docMain As http://support.microsoft.com/kb/264754 Here's the Google search I picked this up in: http://www.google.com/search?hl=en&r...o+&btnG=Search Please let us know if more help is needed... http://www.vbforums.com/showthread.php?612725-Urgent-quot-Requested-object-is-not-available-quot What might this computer have that my other doesn't?
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. Already a member? Currently we have a production Win 2003 server machine running the application just fine, but after the test server received a patch from Microsoft we started getting a run-time error 5852 why would the call MailMerge.DataSource.FirstRecord not be available after a MS patch???
Works like a charm with Office/Word 2000. https://bytes.com/topic/visual-basic/answers/648478-run-time-error-5852-word-mail-merge-macro As I work here at work on this code, based on your suggestions, the code works fine. To unlock all features and tools, a purchase is required. Advertisements Latest Threads Titanfall 2 Review Becky posted Oct 31, 2016 at 5:21 PM create a form calling macros Ramona626 posted Oct 31, 2016 at 2:52 PM Hi Carl Johnman posted
Thanks in advance, HP Doug Robbins - Word MVP wrote: Can the merge be run manually when logged in under the second profile. check over here These problems might require that you reinstall your operating system. 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. I'll try to find a place to put in Koolsid's suggestion, but I'm not optimistic.
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 A registration? i have a similar problem with the same error number. his comment is here I have a VB Script that executes to create a mail merge.
A template? Solved Word/Excel Macro Stops with error 5852, requested object not available Posted on 2008-06-02 VB Script MS Word 2 Verified Solutions 5 Comments 2,378 Views Last Modified: 2012-05-05 I am receiving You may have to register before you can post: click the register link above to proceed.
This security feature is also a problem in Word 2003 SP-3. Get 1:1 Help Now Advertise Here Enjoyed your answer? I would love for this to work everytime. I'm using the following code I found online: Sub GetTCStats() Dim lInsertsWords As Long Dim lInsertsChar As Long Dim lDeletesWords As Long Dim lDeletesChar As Long Dim sTemp As String Dim
I have copied just about everything that I can (that isn't read-only locked) from the original profile to the new profile. Steele Oct 21, 2006 Error:execution of this application has stopped due to a run-time error Sandy H, Jun 22, 2009, in forum: Microsoft Access Forms Replies: 1 Views: 2,400 Clifford Bass Note: The manual fix of Microsoft Visual Basic Runtime Error 5852error is Only recommended for advanced computer users.Download the automatic repair toolinstead. http://forumyaren.com/visual-basic/visual-basic-400-error.php What am I missing?