Error 4198 Word 2003
Contents |
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP error 4198 command failed SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows error 4198 vba < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant MarkDeVries runtime error 4198 DACREE Inside-ERP MacProTX VoIP_News Inside-CRM PCMag maxwellarnold I_am_the_dragon Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Locutus Ramnath.Awate DukeGanote Craig Borysowich Dennis Stevenson Richard mircea_luca Nikki Klein AbhaiTripathi knowscognosdoi Clinton Jones
Run-time Error 4198
blrvenkat Iqbalyk bluesguyAZ59 COMPANIES RSA Conference UC4 Apperian Sophos View All Topics View All Members View All Companies Toolbox for IT Topics Visual Basic Groups Ask a New Question Visual Basic for Applications A forum where peers share technical expertise, solve problems, and discuss issues related to the use of Visual Basic for Applications (VBA). Home | Invite Peers | More Visual Basic Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. Run-time error '4198' when adding an OLE object in Word 2003 ian.scott asked Sep 27, 2010 | Replies (3) I have a VBA procedure that inserts a PDF file into a Word 2003 document. When I attempt to execute this procedure from the document_new event, it stops with a run-time error '4198' on Selection.InlineShapes.AddOLEObject. If I cancel execution, the PDF file is inserted into the document. If I run the procedure from Tools>Macros, it works fine - No error message. I can work around it by check
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Problems with Application.OrganizerCopy in Word 2003 ! Want to Advertise Here? Solved Problems with Application.OrganizerCopy in Word 2003 ! Posted on 2004-11-04 MS Word 2 Verified Solutions 6 Comments 1,043 Views Last Modified: 2008-01-09 Hi all http://visualbasic.ittoolbox.com/groups/technical-functional/vb-vba-l/runtime-error-4198-when-adding-an-ole-object-in-word-2003-3781271 Experts :-) I'm trying to use Application.OrganizerCopy in Word 2003 but it just gives me an error message: "Run-time error '4198'; Command failed" Here's the code I'm trying to run: Application.OrganizerCopy Source:= _ "C:\Documents and Settings\Peter\Application Data\Microsoft\Templates\Normal.dot" _ , Destination:="C:\kjdhfkshf.doc", Name:="NewMacros1", Object:= _ wdOrganizerObjectProjectItems This code works fine in Word 2000 !! https://www.experts-exchange.com/questions/21194180/Problems-with-Application-OrganizerCopy-in-Word-2003.html Any ideas ?? Regards Peter 0 Question by:forsbom Facebook Twitter LinkedIn Google LVL 37 Best Solution byJoanne M. Orzech Are you sure that's where your normal.dot resides? Do a search on your hard drive to find out or go to Tools, Options, File Locations. Go to Solution 6 Comments LVL 37 Overall: Level 37 MS Word 35 Message Accepted Solution by:Joanne M. Orzech2004-11-04 Are you sure that's where your normal.dot resides? Do a search on your hard drive to find out or go to Tools, Options, File Locations. 0 LVL 76 Overall: Level 76 MS Word 65 Message Active today Assisted Solution by:GrahamSkan2004-11-04 Does it work if you do it manually? If not, it might give you a more informative message. 0 LVL 3 Overall: Level 3 Message Author Comment by:forsbom2004-11-04 I found the solution my self! It seems that you can't copy from the Normal.dot file! After a LOT of searching I finally found out what you can and can't do .... See : http://support.microsoft.com/kb/211466/EN-US/ Application.OrganizerCopy Source Target Valid Err Error Message ------------------------------------------------------------------------ Document Document Yes Document
post has 1 Reply | 1 Follower jlweber Nashville Since 9/24/2004 Posts 1 Reputation http://vbcity.com/forums/t/78457.aspx 20 Reply Jon Weber (jlweber) Posted: 9/24/2004 11:14 AM rated by 0 users Hello - I have developed a form in Word 2003 that has hyperlinks. Of https://groups.google.com/d/topic/microsoft.public.word.vba.general/Z5dAEuI-_M4 course, when I lock/protect the document, the hyperlinks are disabled. So, I found a macro to enable the hyperlinks. Here it is:End SubSub LockedHyperlinks()Selection.Hyperlinks(1).FollowEnd SubThen I added error 4198 this to enable 1-click access..Sub AutoOpen()Application.Options.ButtonFieldClicks = 1I can get the document to work on my PC, but when I email it and someone tries to access the links to internal network documents, I get a run-time error. In debugging, Selection.Hyperlinks(1).Follow is highlighted. I'm extremely new to all of this. Can someone tell me error 4198 word what I'm doing wrong? Thank You! | Post Points: 20 bednarjm St. Louis, MO Since 12/9/2002 Posts 3,227 Reputation 23,500 Reply Jim Bednarek (bednarjm) replied on 9/27/2004 10:54 AM rated by 0 users Microsoft knows about this error:http://support.microsoft.com/default.aspx?scid=kb;en-us;228701Quote:SYMPTOMSIf you use the Visual Basic for Applications Hyperlinks object, and an AutoShape object is selected, you receive the following error message: Run-time error '4198':Command Failed For example, the following macro code causes this error message to appear when your Word document contains a hyperlink, and a floating object is selected: MsgBox ActiveDocument.Hyperlinks(1).NameAll of the properties of the Hyperlinks object cause the same error message to appear. RESOLUTIONMake sure that no AutoShapes, pictures, or other objects with a wrapping style other than In-line with text are selected before you use the Hyperlinks object in your macro code. jim b | Post Points: 5 < Previous Topic | Next Topic > Page 1 of 1 (2 items) | RSS Copyright 1998-2016 vbCity.com LLC
från GoogleLogga inDolda fältSök efter grupper eller meddelanden