Home > Visual Basic > Visual Basic Run Time Error 5852

Visual Basic Run Time Error 5852

A registration? I hope it's today finally. Haven't tried Word 2003.        Set wrdApp = CreateObject("Word.Application")        wrdApp.Documents.Open FileName:=strContractDir & "\" & strDoc, AddToRecentFiles:=False, Visible:=False        wrdApp.Documents(strDoc).Activate        With wrdApp.Documents(strDoc).MailMerge            .DataSource.FirstRecord = 1   Line causes error  (Error 5852: Requested object is not Exactly which line is > raising the error? > > The error is raise on this line; .Destination = wdSendToNewDocument Any ideas? http://gmailpush.com/visual-basic/visual-basic-run-time-error-525.html

i hope someone can help us. Visit our UserVoice Page to submit and vote on ideas! Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next dim all variables as required basic features: (repairs system freezing and rebooting issues , start-up customization , browser helper object management , program removal management , live updates , windows structure repair.) Recommended Solution Links: (1) https://social.msdn.microsoft.com/Forums/en-US/7b0f97de-3584-4e91-a1aa-482f149fbeb5/runtime-error-5852-requested-object-not-available?forum=vbgeneral

How to fix Microsoft Visual Basic Runtime Error 5852 Error? All of these locations are on a server which both profiles have access to. Search This Blog Loading... You guys are great BTW, and I can't ask for more but patience.

I cant figure out why it always says runtime error 5852. ... Get 1:1 Help Now Advertise Here Enjoyed your answer? The default text for that error is not useful. With the fifth document, I get this error.

Just click the sign up button to choose a username and then you can ask your own questions on the forum. Privacy Policy Site Map Support Terms of Use Log in or Sign up PC Review Home Newsgroups > Microsoft Access > Microsoft Access Forms > Run-time error '5852' Discussion in 'Microsoft Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. Clicking Here Similar topics word Mail merge Driving word mail merge Using MonthName Function In MS Word Mail Merge From Access Word mail merge from Access with parent child records MS Access and

Mo Mo, Aug 23, 2006 #4 Guest Guest what do you mean by recreate? "Mo" wrote: > OK John, it's sorted. > > I recreated the word doc and everything msgbox wdsendtonewdocument should show 0 i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so Thanks in advance, HP Doug Robbins - Word MVP wrote: Can the merge be run manually when logged in under the second profile. What am I missing?

Covered by US Patent. website here An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. If you have Microsoft Visual Basic Runtime Error 5852 errors then we strongly recommend that you Download (Microsoft Visual Basic Runtime Error 5852) Repair Tool.

A registration? http://gmailpush.com/visual-basic/visual-basic-400-error.html About Us PC Review is a computing review website with helpful tech support forums staffed by PC experts. This is common error code format used by windows and other windows compatible software and driver vendors. A registration?

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 Sign Up Now! This article contains information that shows you how to fix Microsoft Visual Basic Runtime Error 5852 both (manually) and (automatically) , In addition, this article will help you troubleshoot some common have a peek here Thank you. 0 Featured Post 6 Surprising Benefits of Threat Intelligence Promoted by Recorded Future All sorts of threat intelligence is available on the web.

regards, tofuboy Saturday, October 21, 2006 1:34 AM Reply | Quote 0 Sign in to vote Add me to the list. Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. Can anyone offer a solution how to resolve this error?

Run-time error '5852'.

It can also be caused if your computer is recovered from a virus or adware/spyware attack or by an improper shutdown of the computer. The document, on it's own, works fantastic. Registration on or use of this site constitutes acceptance of our Privacy Policy. I've even copied over the normal.dot, thinking that may be part of the issue.

Suggested Solutions Title # Comments Views Activity VB script Microsoft Word Tables. Make it the first. -- Hope this helps. Additionally, some revision objects may be accessed more than one time. http://gmailpush.com/visual-basic/visual-basic-error.html 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"

Login with LinkedIN Or Log In Locally Email Password Remember Me Forgot Password?Register ENGINEERING.com Eng-Tips Forums Tek-Tips Forums Search Posts Find A Forum Thread Number Find An Expert Resources Jobs Many thanks. So i re-wrote the doc and everything started to function normally. This is intended to be my personal repository where I can search against my notes, however, if you have stumbled upon this and found it useful please let me know!

the creation of a document based on Excel data.