Home > Runtime Error > Word Runtime Error 4608

Word Runtime Error 4608

Contents

See http://word.mvps.org/faqs/macrosvba/ModifyRecordedMacro.htm -- Salut! _______________________________________ Jean-Guy Marcil - Word MVP TOO Word MVP site: http://www.word.mvps.org Jean-Guy Marcil, Nov 2, 2005 #4 LDMueller Guest Thank your for your response. Works great 95% of the time. First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. Privacy Policy Terms and Rules Help Popular Sections Word Outlook Excel Access Connect With Us Log-in Register Contact Us Forum software by XenForo™ ©2010-2014 XenForo Ltd. http://devstude.net/runtime-error/word-runtime-error.php

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? Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We 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 Just thought I should share that knowledged with you. http://www.office-forums.com/threads/run-time-error-4608-value-out-of-range-error.1873247/

Microsoft Visual Basic Runtime Error 4608

Perhaps it's a case that the particular user profile is corrupt. Please try the request again. Now for the bonus round.

  • Sign Up Now!
  • Join & Ask a Question Need Help in Real-Time?
  • 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.
  • The problem occurs when using a VBA macro to set certain Page Setup Properties such as ActiveDocument.PageSetup.FirstPageTray=1 ActiveDocument.PageSetup.RightMargin=10 On trying this on some documents that contain section breaks an error is
  • If page 1 is from tray 3 and other pages are from tray 1, surely it should be with ActiveDocument.PageSetup .FirstPageTray = 3 .OtherPagesTray

Yes, my password is: Forgot your password? Basically the code sits in an Excel workbook which generates a report in Word, using Word VBA of course, populating it with the contents of a worksheet which was itself populated GET STARTED Join & Write a Comment Already a member? Microsoft Office Forums Forums > Archive > Newsgroup Archive > Word Newsgroups > Word VBA > Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Notable Members Current

Code: ' ============================================================================ ' === Remove First Page Headers and Footers, and set Odd / Even footers === ' ============================================================================ ActiveWindow.ActivePane.View.Type = wdPrintView Selection.GoTo What:=wdGoToSection, Which:=wdGoToFirst, Name:="" ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader ActiveDocument.PageSetup.DifferentFirstPageHeaderFooter Runtime Error 4608 When Printing 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 Regards, Rob. 0 Featured Post Gigs: Get Your Project Delivered by an Expert Promoted by Experts Exchange Select from freelancers specializing in everything from database administration to programming, who have proven http://www.vbforums.com/showthread.php?762845-Word-2013-quot-Run-time-error-4608-Value-out-of-range-quot-when-adding-table-to-document Are you using PS 4.5 with the Universal Print Driver, or are you using UniPrint?

Colin Legg View Public Profile Visit Colin Legg's homepage! Suggested Solutions Title # Comments Views Activity can i use nginx instead of Citrix NetScaler for xendesktop 5 57 14d Windows Activation question. 2 50 14d stop word moving down 2 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 Blaise This article describes how to use the Send to Mail Recipient command.

Runtime Error 4608 When Printing

Password Home Register Calendar Today's Posts FAQ Free Publications Search Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Word, PowerPoint, Outlook, and Other http://windowssecrets.com/forums/showthread.php/91528-run-time-error-4608-(English-Word-2003) About Us We're a friendly discussion community for Microsoft Office help and support. Microsoft Visual Basic Runtime Error 4608 The larger ones have more than the smaller ones. 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.

Application.ActivePrinter = strActivePrinter End Sub 0 Question by:Hypercat (Deb) Facebook Twitter LinkedIn Google LVL 76 Active today Best Solution byGrahamSkan Working on your 'Sections' hint, perhaps you could try setting up this content Join and Comment By clicking you are agreeing to Experts Exchange's Terms of Use. 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: Must I use past tense before 後?

Function pagestuffB() As String ' ' Format for Publisher ' ' Dim rv As String rv = "" On Error GoTo ErrorHndlr: With Application .Options.Pagination = False .ScreenUpdating = False .WindowState I found this documentation in Word: Use the DifferentFirstPageHeaderFooter property with the PageSetup object to specify a different first page. 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 http://devstude.net/runtime-error/word-runtime-error-76.php All of the individual suite applications are supported here, so please post your question in the relevant section for help.

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. strActivePrinter = Application.ActivePrinter 'Change the active printer to match local Aficio 2075-B ActivePrinter = "\\circe\Aficio 2075-B PCL6" For each sec in ActiveDocument.Sections 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 Casey Mac, Nov 1, 2005 #2 Advertisements Jean-Guy Marcil Guest

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 might be that his driver says the printer only has 1 tray. Viewers will understand when to use each orientation and how to get the most out of them. subscribe

Home Register Calendar Today's Posts FAQ Archive © Xtremevbtalk.com 2001 - 2016. Solutions? ¿Mi cumpleaños es el "uno" o "un" de agosto?

Now in a healthy document this setting is the same in each section throughout the document. You'll be able to ask questions about MS Office or chat with the community and help others. Join them; it only takes a minute: Sign up Word macro error - Runtime Error 4608, Value out of range up vote 0 down vote favorite We have a macro we check over here We > > have Word 2003 and our printer is an HP Laserjet 4250. > > > > Selection.WholeStory > > With ActiveDocument.PageSetup > > .FirstPageTray = 262 > > .OtherPagesTray

Join Now For immediate help use Live now!