Thank you, jalanford "Perry" wrote: > Looks like a policy issue here: > > These settings are stored in the Registry. > Do you have access to the registry? > > Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. However, when I try to run this as part of a macro or by itself, I get a Run-time error 4120 Bad Parameter error. Reference Sheets Code Snippets C Snippets C++ Snippets Java Snippets Visual Basic Snippets C# Snippets VB.NET Snippets ASP.NET Snippets PHP Snippets Python Snippets Ruby Snippets ColdFusion Snippets SQL Snippets Assembly Snippets have a peek at this web-site
http://support.microsoft.com/kb/822005 -- Krgrds, Perry System: Vista/Office Ultimate VS2005/VSTO2005 SE "jalanford" <> schreef in bericht news:... >I am able to open the Registry Editor from Start/Run. > > Thank you, > > However all code is identical to the older, oversized version which worked fine so I'm mystified. Youâ€™ll be auto redirected in 1 second. Protecting it with a shorter password removed the problem.I was pointed in the direction of this conclusion by http://social.msdn.microsoft.com/Forums/vstudio/en-US/0401ea56-5ca5-4bb8-aaeb-006fee8d13fa/word-password-maximum-key-length. https://support.microsoft.com/en-us/kb/948682
Your name or email address: Do you already have an account? 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. Thank you, Is This A Good Question/Topic? 0 Back to top MultiQuote Quote + Reply Replies To: VB6 , Excel Add Row gives "Error 4120 Bad Parameter" #2 andrewsw don't
Results 1 to 9 of 9 Thread: [Word / Excel 2003] Run-time error 4120: Bad parameter Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Advanced Search VBForums Visual Basic Office Development MsOf03 [Word / Excel 2003] Run-time error 4120: Bad parameter If this is your first visit, be sure to check out the FAQ by You may have to register before you can post: click the register link above to proceed. Change it to...
Code: .ActiveDocument.PageSetup.LineNumbering.Active = True If your not getting tooltips then its either from using Late Binding or an error. Cheers, John Reply With Quote Aug 16th, 2011,12:39 PM #2 RobDog888 View Profile View Forum Posts Visit Homepage Super Moderator Join Date Apr 2001 Location LA, Calif. Sign up now! VB/Office Guru™ (AKA: Gangsta Yoda™ ®) I dont answer coding questions via PM.
It is mildly interesting to note that pre-2007 versions of Word (XP and 2003) were not afflicted by this error in my tests. Search: Advanced Forum Search Forums Programming Web Development Computers Tutorials Snippets Dev Blogs Jobs Lounge Login Join! For the purposes of other macros being run: > > Options.ReplaceSelection = True > > This works fine in WD2003. Let me know if some example code would help - it's a mighty big macro (over 2,300 lines) so I thought I'd start with the overall principles.
Barnhill « Previous Thread | Next Thread » Thread Tools Show Printable Version Download PDF Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded http://www.vbforums.com/showthread.php?657881-Word-Excel-2003-Run-time-error-4120-Bad-parameter VB/Office Guru™ (AKA: Gangsta Yoda™ ®) I dont answer coding questions via PM. Today's Topics Dream.In.Code > Programming Help > VB6 VB6 , Excel Add Row gives "Error 4120 Bad Parameter" Page 1 of 1 New Topic/Question Reply 2 Replies - 1740 Views - Privacy statement Help us improve MSDN.
ensuring that the user's name and initials are set in Word Options). The time now is 01:44 AM. - Contact Us - Microsoft Word Forum WordBanter forum home - FAQ - Links - Privacy Statement - Top Powered by vBulletin Version 3.6.4Copyright ©2000 It takes just 2 minutes to sign up (and it's free!). Source Code: .MoveLeft unit:=wdWord, count:=2, Extend:=wdExtend Im maybe case sensitive when you use labels for the parameters VB/Office Guru™ (AKA: Gangsta Yoda™ ®) I dont answer coding questions via PM.
Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Microsoft Word Help Run Time error '4120' Author Name Remember Me? Cheers, John Reply With Quote Aug 18th, 2011,05:27 PM #7 RobDog888 View Profile View Forum Posts Visit Homepage Super Moderator Join Date Apr 2001 Location LA, Calif. It will help to see tooltips and arguments and what properties and methods are availabble for an object etc.
For the purposes of other macros being run: >> > >> > Options.ReplaceSelection = True >> > >> > This works fine in WD2003. Click HERE to participate the survey. Raiders #1 AKA:Gangsta Yoda™ Posts 60,221 Re: [Word / Excel 2003] Run-time error 4120: Bad parameter Well your code change is the error as there is no method for Documents.PageSetup. I do something similar on columns further up and works fine, If I remove the "10" from the end it just adds the next row to the bottom, but i need
Microsoft MVP 2006-2011 Office Development FAQ (C#, VB.NET, VB 6, VBA) Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET If a post has helped you then Please Rate There was a similar >> > issue >> > discussed here awhile back and it seems to me that there were varying >> > results >> > depending on whether the DKTVAV posted Oct 27, 2016 at 4:00 PM Pixelated Floor Plan When Inserting Into Visio Marcus Zizzo posted Oct 26, 2016 at 4:49 PM Help with Duplicate Output Alias Error 'Exp1' have a peek here Retrieved from "http://wiki.hotdocs.com/index.php?title=Runtime_Errors_When_Creating_New_Word_2007_Template" Category: Problems and Solutions This page was last modified on 2 August 2011, at 14:49.
In fact, if you record the action of setting >> > this >> > option manually in the dialog box, you get the above line. http://msdn.microsof...e/ff838946.aspx However, I think the error message is more likely because a Word Table doesn't have an Item (or, more specifically, an Items) collection. Anybody out there know anything about this "feature" and whether it's being addressed OR whether there is some security setting somewhere that I am overlooking?