+ Reply to Thread
Results 1 to 2 of 2

Printing Macro Problem - Setting Default printer

  1. #1
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    Question Printing Macro Problem - Setting Default printer

    Hi everyone
    I am receiving an error: Run tim error 1004 - Application Defined or object define error.
    So im guessing it doesnt like that i've Dimensioned Orientation and PaperSize as Strings?
    What should they be dimensioned as?

    Please Login or Register  to view this content.
    Last edited by jordan2322; 01-17-2012 at 06:18 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Printing Macro Problem - Setting Default printer

    I can't really see what relevance the question title is, you don't set the default Printer.

    You can't declare variables that are used by Excel, use
    Please Login or Register  to view this content.
    You also don't need to Select the Sheet, nor Activate it
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1