How To Repair Visual Basic Runtime Error 4608 Tutorial


Home > Runtime Error > Visual Basic Runtime Error 4608

Visual Basic Runtime Error 4608

Contents

Many of the printer drivers do not use numbers from the wdPaperTray enumeration. Follow-Ups: Re: PageSetup + Section Breaks = Value out of range Run-time Error 4608 From: Russ RE: PageSetup + Section Breaks = Value out of range Run-time Error 46 From: periodic Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. The code would look something like this: Sub PlainPrint_B() Dim sec As Section ' ' PlainPrint-B Macro ' Prints to Aficio 2075-B, Plain paper ' ' Get active/default printer. http://nbxcorp.com/runtime-error/visual-basic-runtime-error-53-dll.html

Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Use the Add method with the PageNumbers object to add a page number to a header or footer. Registration on or use of this site constitutes acceptance of our Privacy Policy. The following is my updated code, however it still doesn't work.

Microsoft Visual Basic Runtime Error 4608

Please try the request again. However in a normal English word setup it is impossible to find. Thanks. –dbasnett Mar 26 at 21:21 @dbasnett did this solve your problem? Close this window and log in.

Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! This macro basically takes a 3 page letter, for example and formats the first page to print from our letterhead tray (tray 1) and all other pages to print from bond Blaq posted Nov 1, 2016 at 6:10 PM punctuation order fariz posted Oct 31, 2016 at 4:28 AM overwrite specific 'quick parts' - HELP! The larger ones have more than the smaller ones.

All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Runtime Error 4608 When Printing This problem recently came up in a document and in my testing I removed the one an only "section break next page" and the macro worked. 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 Thanks! –Floam Mar 27 at 16:46 when I go back to work I will. –dbasnett Mar 27 at 20:22 @dbasnett are you all set? –Floam Apr 3

We have Word 2003 and our printer is an HP Laserjet 4250. If you read articles published by MS Word MVPs you will see a common theme that they recommend working with the underlying objects instead of using Selection object and View.SeekView whenever When I try to Debug > > it, it will continually error out on any of the lines under "With > > ActiveDocument.PageSetup". > > > > I would sincerely appreciate Small document - <= 256KB Large document - >= 500KB For the documents that have the error I can open them in Word and manually make the settings without a problem.

  1. 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:
  2. 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.
  3. How would you set up the section handling if only the first page of the document goes to tray 1 and all the rest (regardless of sections) goes to tray 2.
  4. Formatted all the pieces to have the same format which meant that the collection didn't have to run the macro. –dbasnett Apr 4 at 11:33 | show 2 more comments Your
  5. asked 7 months ago viewed 243 times active 7 months ago Blog Stack Overflow Podcast #93 - A Very Spolsky Halloween Special Related 1Word Macro for other tray printing1Printing UTF32 Symbols

Runtime Error 4608 When Printing

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. After hours of frustration I decided I needed to compare a working document with a broken document and the only way I could think to do this was to save it Microsoft Visual Basic Runtime Error 4608 subscribe

Home Register Calendar Today's Posts FAQ Archive © Xtremevbtalk.com 2001 - 2016. Our printer is an HP > Laserjet 4250. > > My problem is this.

I am not a VBA person. his comment is here 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 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. 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

subscribe Programmers Heaven C# School Book -Free 338 Page eBook The Programmers Heaven C# School book covers the .NET framework and the C# language. Join the community of 500,000 technology professionals and ask your questions. We > > have Word 2003 and our printer is an HP Laserjet 4250. > > > > Selection.WholeStory > > With ActiveDocument.PageSetup > > .FirstPageTray = 262 > > .OtherPagesTray http://nbxcorp.com/runtime-error/visual-basic-runtime-error-53.html My problem is this.

Results 1 to 1 of 1 Thread: [Word 2013] "Run-time error 4608: Value out of range" when adding table to document Tweet Thread Tools Show Printable Version Subscribe to this Thread… Comment underneath if this suggestion does not fix your problem. .BookFoldPrinting = False .BookFoldRevPrinting = False .BookFoldPrintingSheets = 1 share|improve this answer answered Mar 26 at 18:42 Floam 116110 Sign up now!

All the best, thanks 0 LVL 5 Overall: Level 5 Message Active 1 day ago Expert Comment by:Mdlinnett2012-10-15 This solution has got me out of a bind aswell.

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. But if the section breaks are necessary then there are ways to correct the document. Our printer is an HP Laserjet 4250. Yes, my password is: Forgot your password?

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 We > have Word 2003 and our printer is an HP Laserjet 4250. > > Selection.WholeStory > With ActiveDocument.PageSetup > .FirstPageTray = 262 > .OtherPagesTray = 260 > End With > Already a member? navigate here 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.

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. Just thought I should share that knowledged with you. All I was trying to do was to set the margins, and yes I recorded what worked. Connect with top rated Experts 12 Experts available now in Live!

Stay logged in Welcome to Office Forums!