Word Runtime Error 4608
But testing another similar document the macro worked even with a "section break next page" in place?? Like i said this used to work fine on a previous document and I didn't modify code in the script, so only the document it is being executed on has changed. Sometime's my letter has different margins, etc. > (I'm assuming this is the problem) and because of this I get a > Run-time error '4608: Value out of range error. Retrieved from "http://wiki.hotdocs.com/index.php?title=%27Value_out_of_Range%27_Error_When_Inserting_Variable_in_Word_Footer" Category: Problems and Solutions This page was last modified on 2 August 2011, at 14:48.
Microsoft Visual Basic Runtime Error 4608
im > using word 2003 > > ActiveDocument.PageSetup.DifferentFirstPageHeaderFooter = True > Set oRng = > ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range > oRng.ParagraphFormat.Alignment = wdAlignParagraphCenter > NormalTemplate.AutoTextEntries("Page X of Y").Insert Where:=oRng, > RichText:=True Your code ran strActivePrinter = Application.ActivePrinter 'Change the active printer to match local Aficio 2075-B ActivePrinter = "\\circe\Aficio 2075-B PCL6" With ActiveDocument.PageSetup 'Auto Select I am not a VBA person. ActiveDocument.PageSetup.LinesPage = 38 'achieves the same as all the above but is a little bit easier.
- This information was very helpful, > however, I had cleaned it up initally and when it didn't work, I put > everything back in. > > The following is my updated
- Sign Up Now!
- Sub PlainPrint_B() Dim sec as Section ' ' PlainPrint-B Macro ' Prints to Aficio 2075-B, Plain paper ' Go to Solution 8 Comments LVL 76 Overall: Level 76 MS Word
- Here is the second version of the macro Function pagestuffB() As String ' ' Format for Publisher ' ' Dim rv As String rv = "" On Error GoTo ErrorHndlr: With
- It's certainly hard to grasp what exactly you want this code to do since there are no comments describing what your code does :).
- Can one bake a cake with a cooked egg?
- First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone.
- Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More...
- There is also a simpler way I have found to correct the documents but I don't know if the method will have any side effects.
The benefits of using these tools means your documents are more accessible and easily portable to other applications an… MS Word Using "Send to Mail Recipient" in Microsoft® Word 2013 Article The select-by-location tool of ArcMap won't work properly! Now for the bonus round. It took .5 hours to format the two documents, two of the smallest, in the link above.
Advanced Search VBForums Visual Basic Office Development MsOf13 [Word 2013] "Run-time error 4608: Value out of range" when adding table to document If this is your first visit, be sure to Runtime Error 4608 When Printing It seems like you used a recorded macro to build this code. It would be better to start a new thread... -- Salut! _______________________________________ Jean-Guy Marcil - Word MVP TOO Word MVP site: http://www.word.mvps.org Jean-Guy Marcil, Nov 2, 2005 #3 Jean-Guy Marcil http://www.vbforums.com/showthread.php?762845-Word-2013-quot-Run-time-error-4608-Value-out-of-range-quot-when-adding-table-to-document This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
Office / Productivity Office Suites-Other MS Office MS Word Advertise Here 757 members asked questions and received personalized solutions in the past 7 days. Solution This happens when you have more characters before the start of the variable field in the footer than there are characters in the main template. (If there is text in How many significant figures? DKTVAV posted Oct 27, 2016 at 4:00 PM Pixelated Floor Plan When Inserting Into Visio Marcus Zizzo posted Oct 26, 2016 Help with Duplicate Output Alias Error 'Exp1' DBA PJ posted
Runtime Error 4608 When Printing
Get 1:1 Help Now Advertise Here Enjoyed your answer? http://windowssecrets.com/forums/showthread.php/91528-run-time-error-4608-(English-Word-2003) I tried using it and it did have a window showing paper sizes, but I didn't really know what to do with the information. Microsoft Visual Basic Runtime Error 4608 Check the faulty user's printer settings. I found this documentation in Word: Use the DifferentFirstPageHeaderFooter property with the PageSetup object to specify a different first page.
JaredHess View Public Profile Find all posts by JaredHess #7 04-17-2008, 09:18 AM Colin Legg Out Of Office Retired Moderator* Expert * Join Date: Mar 2005 Location: get redirected here What I found was that there is an attribute in each section which has the XML of
I tried using it and it did > have a window showing paper sizes, but I didn't really know what to > do with the information. The larger ones have more than the smaller ones. Join Now For immediate help use Live now! http://itechnologysolutionsllc.com/runtime-error/word-runtime-error.php Check the faulty user's printer settings.
Am I interrupting my husband's parenting? We > > have Word 2003 and our printer is an HP Laserjet 4250. > > > > Selection.WholeStory > > With ActiveDocument.PageSetup > > .FirstPageTray = 262 > > .OtherPagesTray Office / Productivity MS Office Office Suites-Other MS Word Using SmartArt to Create Charts Video by: Tony The viewer will learn how to make their project stand out over others by
Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Connect with top rated Experts 17 Experts available now in Live! How loop many pictures into tex document? Join our community for more solutions or to ask questions. However in a normal English word setup it is impossible to find.
It takes just 2 minutes to sign up (and it's free!). Thanks anyway. "Jean-Guy Marcil" wrote: > LDMueller was telling us: > LDMueller nous racontait que : > > > Those are the constants that came up after recording the macro > It might be that his driver says the printer only has 1 tray. my review here Your name or email address: Do you already have an account?
Powered by vBulletin Version 3.8.9Copyright ©2000 - 2016, vBulletin Solutions, Inc. --> HotDocs Wiki Page Discussion View source History Search Personal tools Log in / create Thanks, Hypercat 0 LVL 76 Overall: Level 76 MS Word 65 Message Active today Expert Comment by:GrahamSkan2006-08-31 There is something of a problem in choosing the tray number. If the OddAndEvenPagesHeaderFooter property is True, you can return an odd header or footer by using wdHeaderFooterPrimary, and you can return an even header or footer by using wdHeaderFooterEvenPages. Sql Server: A seemingly strange behaviour of BEGIN TRAN - COMMIT The 10'000 year skyscraper Would it be inappropriate to use my workplace's postage machine to mail my tax returns?
EDIT: The documents are here This is the latest version of the macro, which actually runs, but.... 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. Count down from infinity What would be the disadvantage to defining a class as a subclass of a list of itself? If so, please mark it as answered to close the question.
This still didn't help me write a macro > that worked. > > Thanks anyway. > > "Jean-Guy Marcil" wrote: > >> LDMueller was telling us: >> LDMueller nous racontait que Next by Date: Re: ReplaceBookmark Previous by thread: Re: Problem with a user form command button Next by thread: RE: PageSetup + Section Breaks = Value out of range Run-time Error Office / Productivity Office Suites-Other MS Office MS Word Using SmartArt to Create Charts Video by: Tony The viewer will learn how to make their project stand out over others by Sometime's my letter has different margins, etc. > > (I'm assuming this is the problem) and because of this I get a > > Run-time error '4608: Value out of range
But if the section breaks are necessary then there are ways to correct the document. The code looks fine. To achieve this through the word interface I have been selecting the radio button 'Specify Line Grid Only' and then setting the Pitch in the lines setting to 18 (set it Now in a healthy document this setting is the same in each section throughout the document.