Home > Runtime Error > Runtime Error 4120 Word

Runtime Error 4120 Word

{{offlineMessage}} Try Microsoft Edge, a fast and secure browser that's designed for Windows 10 Get started Store Store home Devices Microsoft Surface PCs & tablets Xbox Virtual reality Accessories Windows phone VB/Office Guru™ (AKA: Gangsta Yoda™ ®) I dont answer coding questions via PM. SEO by vBSEO ©2011, Crawlability, Inc. For the purposes of other macros being run: > > > > Options.ReplaceSelection = True > > > > This works fine in WD2003. his comment is here

Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Microsoft Word Help Run Time error '4120' Author Name Remember Me? All times are GMT -5. You may have to register before you can post: click the register link above to proceed. All of the individual suite applications are supported here, so please post your question in the relevant section for help.

I tested this out on a dummy document using a keyboard shortcut and it worked fine but when I use the macro on the proper form I get a Runtime error, Do you have access to the registry? The proper form is not complex as it only consists of the normal protection with unprotected text fields although it is around 10 pages in length.

So mystery solved I had meticulously copied all code, forms and sheets when rebuilding the workbook but hadn't thought about references at all. Solution To resolve this issue, add the user name and the initials in the Word Options dialog box. Please post a thread in the appropriate forum. Advertisement Frankwlc Thread Starter Joined: Sep 2, 2010 Messages: 9 I have built a protected form in Word 2007 but the eventual user wants the facility to extend the number of

From the Word 2007 error 4120 stories I've read the problem seemed to revolve around personalising your copy of Office. Cheers, John Reply With Quote Aug 18th, 2011,06:27 PM #7 RobDog888 View Profile View Forum Posts Visit Homepage Super Moderator Join Date Apr 2001 Location LA, Calif. Your name or email address: Do you already have an account? Try adding a reference just for assisting with your coding.

To start viewing messages, select the forum that you want to visit from the selection below. Issue This issue occurs because the NoUserName option is set to true when the OEM version of the 2007 Microsoft Office system is installed. I tried changing the macro security settings but nothing good came of it. Copyright ©2004-2016 Microsoft Office Word Forum - WordBanter.

Thanks, jalanford "Perry" wrote: > No problems here. > Toggling this Word setting in VBA at my system works fine. > > Perhaps you can elaborate on what the (surrounding) conditions No, create an account now. HotDocs Wiki Page Discussion View source History Search Personal tools Log in / create account Navigation Main page Contents Glossary Categories Community portal HotDocs Knowledge Base Developer Corner Problems & Solutions Please post a thread in the appropriate forum.

Do you reckon there might be better code to use here? http://cdhca.org/runtime-error/runtime-error-word-2002.php I knew I would have to utilise a macro to do this but this is new territory for me so I did some Googling and found a suitable macro script on Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... All rights reserved.

About Us We're a friendly discussion community for Microsoft Office help and support. Raiders #1 AKA:Gangsta Yoda™ Posts 60,225 Re: [Word / Excel 2003] Run-time error 4120: Bad parameter Hi John, when you type the line of code does it show you the tool 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? > > weblink 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.

However you got me thinking, perhaps I should dispense with the With blocks and explicitly refer to the Object each time. Would re-writing the Word VBA section using more elegant code rather than recorded macros help? There was a similar > issue > discussed here awhile back and it seems to me that there were varying > results > depending on whether the user was running XP

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

I tried >> > changing >> > the macro security settings but nothing good came of it. I'm running > Office > Pro 2007 on XP and I wonder if that's the problem. 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, > > Raiders #1 AKA:Gangsta Yoda™ Posts 60,225 Re: [Word / Excel 2003] Run-time error 4120: Bad parameter Also, try removing hte labels and just pass the arguments.

I tried .selection at the start of subsequent lines which sorted those errors. Just click the sign up button to choose a username and then you can ask your own questions on the forum. Barnhill external usenet poster Posts: 33,626 Run Time error '4120' For this type of question you would be better off asking in the microsoft.public.word.vba.userforms newsgroup, to which I am cross-posting http://cdhca.org/runtime-error/runtime-error-word-2000.php I have added the error and debug info below, along with the macro script.

This article contains information that shows you how to fix Runtime Error 4120 Word both (manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages Google Grupları Tartışma Forumları'nı kullanmak için lütfen tarayıcı ayarlarınızda JavaScript'i etkinleştirin ve sonra bu sayfayı yenileyin. . 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. I tried removing the labels but unfortunately to no avail.

Advertisements do not imply our endorsement of that product or service. I'm running > > Office > > Pro 2007 on XP and I wonder if that's the problem. However the strangest aspect in any case is that we had no such errors until I 'rebuilt' the Excel program from scratch using all the existing modules, forms and sheets. (The To start viewing messages, select the forum that you want to visit from the selection below.

Tech Support Guy is completely free -- paid for by advertisers and donations. Runtime Error 4120 in Word 2007 macro Discussion in 'Business Applications' started by Frankwlc, Nov 18, 2011. Sign Up Now! Yes, my password is: Forgot your password?

This Runtime Error 4120 Word error code has a numeric error number and a technical description. Raiders #1 AKA:Gangsta Yoda™ Posts 60,225 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.