Home > Runtime Error > Runtime Error 4160 Word

Runtime Error 4160 Word

Privacy Policy Terms and Rules Help Popular Sections Word Outlook Excel Access Connect With Us Log-in Register Contact Us Forum software by XenForo™ ©2010-2014 XenForo Ltd. I >also recreated the normal.dot file to no avail. 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) MOS MASTER07-26-2005, 12:33 PMJoost, when you get that, pass it on to me. his comment is here

The best thing to avoid the automacro's or eventhandlers is to fire the code manualy. I also just tried saving them as docx and still same error. But more importantly, and I thank you for pushing this back to my mind, I left out a major detail of my description: The third party VBA procedure is stored in I have an earlier version of the third-party code, before they password-protected it.

Reply With Quote 07-17-2001,12:49 PM #3 FunkyCho Guest Re: intercepting FileOpen in Word "Jonathan Martens" wrote: > >The beginning is good but you don't know how to use objects. Just click the sign up button to choose a username and then you can ask your own questions on the forum. Anyone know about this error??? Can you be totally sure it does not contribute to the problem?

To unlock all features and tools, a purchase is required. Welcome to the Microsoft Office Forums where you can ask questions or find answers on anything related to Word, Excel, Outlook, Access or any of the other Office applications. This is set to "%userprofile%\Locals~1\Temp\Contex" when the error doesn't occur. Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More...

The Runtime Error 4160 Bad File Name error is the Hexadecimal format of the error caused. what pdf plugin magento using to generate invoice Extensible code to support different HR rules An Array of Challenges #2: Separate a Nested Array Why const_iterator could be used with std::map::erase I started out in 2003 where it worked. Really?

This is common error code format used by windows and other windows compatible software and driver vendors. If Len(Dir(ThisWorkbook.path & "\Report.docx")) <> 0 then 'if the document exists in the folder where ThisWorkbook is saved, I check 'if the document is already opened. The code renames the file... Cancel Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.The Tek-Tips staff will check this out and take appropriate action.

HesabımAramaHaritalarYouTubePlayHaberlerGmailDriveTakvimGoogle+ÇeviriFotoğraflarDaha fazlasıDokümanlarBloggerKişilerHangoutsGoogle'a ait daha da fazla uygulamaOturum açınGizli alanlarGrupları veya mesajları ara DevX Home Today's HeadlinesArticles ArchiveTip BankForums Register Help Remember Me? Sign Up Now! I appreciate your help, Fumei. Uploading requires a different type of filepath I can presume. (Wouldn't know for sure) but that could be the problem to...

I also removed the normal.dot template file so 2007 is not running the old code. http://cdhca.org/runtime-error/runtime-error-word-2000.php Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. Reply With Quote 07-17-2001,11:32 AM #2 Jonathan Martens Guest Re: intercepting FileOpen in Word The beginning is good but you don't know how to use objects. there is a call to "Withdrawl" - with no code to see what that does.

About Us We're a friendly discussion community for Microsoft Office help and support. Browse other questions tagged excel vba ms-word or ask your own question. Member Login Remember Me Forgot your password? http://cdhca.org/runtime-error/runtime-error-word-2002.php Dim WordDoc As Word.Document Dim WordApp As Word.Application 'ThisWorkbook is the opened Excel Workbook through which I control Word documents.

I know. I have encountered problems doing this in the past, and have updated much of my code to pass a document name as a string instead, then access it using Documents(docname). no luck Options.SaveInterval = 0 LetterEdit ' Else Options.SaveInterval = 5 Selection.HomeKey Unit:=wdStory If SearchFunction("Confirmation of Withdrawal", True, False) Then Selection.HomeKey Unit:=wdStory If SearchFunction("Something in the letter.", True, False) Then Withdrawal

HTH, :whistle: wadiohead07-18-2005, 10:17 AMPlease post full code. 1.

Runtime Error 4160 Bad File Name Error Codes are caused in one way or another by misconfigured system files in your windows operating system. But again there's to little information. 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 Thanks for your interest in the problem.

Only problem, I have been TRYING to duplicate the problem for almost an hour, and haven't gotten anything. This has been going on for months. Can anyone help?Thanks,Aviator9 RE: Run-time error 4160 when running Word compare in VBA kjv1611 (IS/IT - Management) 20 Oct 09 06:56 Ibelieve the highlighted portion is your problem:Quote:Sub Macro1()ChangeFileOpenDirectory "C:\"Application.CompareDocuments OriginalDocument:=Documents("[/HIGHLIGHT]example.doc[HIGHLIGHT]"), http://cdhca.org/runtime-error/runtime-error-4120-word.php SETUP: I'm using AutoOpen to scan documents opened by a proprietary, web-based document-tracking system.

MOS MASTER07-28-2005, 11:30 AMThis seems like excellent progress to me! :yes Very good to here you found your sollution. What causes Runtime Error 4160 Bad File Name error? Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! I'm unsure about whether the file maintains its template-attachment on the server--we can't access it.

Which version of Word are you working with?Cindy Meister, VSTO/Word MVP, my blog Tuesday, September 03, 2013 7:01 AM Reply | Quote Moderator 0 Sign in to vote Hi Cindy, The Perhaps if Word were to support ftp file access for example. . . FWIW I've never experienced problems with passing document objects... But for some reason trying it the way I posted earlier doesn't.

Register now while it's still free! it's very possible that this is where the error is. All the above actives may result in the deletion or corruption of the entries in the windows system files.