Home > Microsoft Visual > Microsoft Visual Basic Runtime Error '4120' Bad Parameter

Microsoft Visual Basic Runtime Error '4120' Bad Parameter

Yes, my password is: Forgot your password? Could you possibly post some code samples of the idendified areas? 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 Sign Up Now! http://goglospex.com/microsoft-visual/microsoft-visual-basic-runtime-error-4172.html

Write easy VBA Code. adria 0 LVL 39 Overall: Level 39 MS Access 39 MS Development-Other 3 MS Word 1 Message Accepted Solution by:stevbe stevbe earned 250 total points ID: 188844742007-04-10 have you asked I tried >> > changing >> > the macro security settings but nothing good came of it. Solution To resolve this issue, add the user name and the initials in the Word Options dialog box.

In fact, if you record the action of setting > > this > > option manually in the dialog box, you get the above line. Introduction Now… Programming Connect, Configure App on Real Android device and Run Hello World program with Android Studio. Solution When Microsoft Office is installed, the NoUserName option is set to true. All times are GMT -5.

Do you reckon there might be better code to use here? Join the community of 500,000 technology professionals and ask your questions. I'm running > > Office > > Pro 2007 on XP and I wonder if that's the problem. Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New?

Article by: Navneet In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. Thanks fisherman, Mar 4, 2008 #1 Advertisements Suzanne S. Buy any of our top-rated backup solutions &get up to 2TB free cloud per system! http://www.intersoft.co.nz/Support/TSB.aspx?id=TSB1029 Under certain circumstances this can cause “Runtime error ‘4120’ Bad parameter”.

Question has a verified solution. Do you have access to the registry? Grab the Deal Question has a verified solution. Hello and welcome to PC Review.

I've highlighted all the lines that cause an error (all .Move and .EndKey commands). Get 1:1 Help Now Advertise Here Enjoyed your answer? Tighten space to use less pages. Please post a thread in the appropriate forum.

I tried .selection at the start of subsequent lines which sorted those errors. have a peek at these guys The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Other commandslike 'WordDoc.Selection.TypeParagraph' works fine. Your name or email address: Do you already have an account?

Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda… MS Access Polish Reports in Access Video by: crystal Polish reports Join Now For immediate help use Live now! There's no information from MS about this error with Office 2k7, so it's either an app-specific problem or an as yet unknown issue with Word 2k7. check over here I'm happy to provide more specific information as soon as I know what is needed.

Similar Threads FileCopy Error 52 Bad FileName or number Marco Alting, Jul 3, 2003, in forum: Word VBA Replies: 4 Views: 236 Marco Alting Jul 4, 2003 Run time error 9118 Grab this deal now before it disappears! All rights reserved.

Member Login Remember Me Forgot your password?

Event Viewer doesn't show anything related. Join & Ask a Question Need Help in Real-Time? Error log for app just says "4120 Bad parameter". Vendor says they tested on Office 2k7 and haven't seen this error.

When I try to print or preview a report from the application, I get "4120: Bad parameter". 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. For the purposes of other macros being run: > > Options.ReplaceSelection = True > > This works fine in WD2003. this content In fact, if you record the action of setting > this > option manually in the dialog box, you get the above line.

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 have Office 2007 installed on WinXP SP2. adria 0 LVL 1 Overall: Level 1 MS Word 1 Message Author Comment by:enkotec ID: 190878842007-05-14 No access to the code. So mystery solved I had meticulously copied all code, forms and sheets when rebuilding the workbook but hadn't thought about references at all.

If you are experiencing a similar issue, please ask a related question Suggested Solutions Title # Comments Views Activity Access Running Very Slowly on Windows 7 PC 27 67 14d MS Promoted by Acronis Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, &more! 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. No, create an account now.

My suggestion would be to contact the developer and, like steve said, ask them if they are supporting 2k7. Sign Up Now! Many thanks again Cheers, John Reply With Quote Sep 1st, 2011,12:57 PM #9 RobDog888 View Profile View Forum Posts Visit Homepage Super Moderator Join Date Apr 2001 Location LA, Calif. Does you know why and please can you help?