+ Reply to Thread
Results 1 to 4 of 4

AutoPrint using Macro

  1. #1
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    AutoPrint using Macro

    Hi Rylo (If you see this) I've talked to you before.

    Problem described below

    Please Login or Register  to view this content.
    'THE FOLLOWING CODE PRODUCES ERROR AND DOES NOT PRINT
    Please Login or Register  to view this content.
    'I HAVE CLEARED THE PRINT AREA FOR THIS PAGE AND RE=ENTERED IT AND IT STILL PRODUCES AN ERROR.
    'CAN ANYONE GIVE ME SOME IDEA?

    'THANKS
    'MATT @ LAUNCHNET
    Thanks for helping . . .
    Matt @ Launchnet

  2. #2
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    AutoPrint using Macro

    Just split the macro into 2 macro's, as I felt that my printer might be running out of memory.

    Sure enough, both work fine.

    NEW QUESTION . . .

    Is there a line of code that I can place in the macro that will pause the macro for let's say 15 seconds, so that my cheap slow printer can open up some memory?

    Thanks for a reply

    Matt @ Launchnet

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi Launchnet,

    You can use the Application.Wait command to 'pause' the macro, like so:
    Please Login or Register  to view this content.
    That will force the macro to wait 15 seconds before executing the next line of code.

  4. #4
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Thanks Paul

    Hi - Sorry I couldn't get back to you sooner. I just got home from Bible Study.

    Your code works perfect. Only 1 macro now.

    Many thanks.

    Matt

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. macro to create a macro?
    By jojotherider in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2008, 08:34 PM
  2. Macro for copy/insert into expanding table
    By Soslowgt in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-06-2008, 07:24 PM
  3. How to splitt texts into words? (collecting word and compounds)
    By wali in forum Excel Programming / VBA / Macros
    Replies: 53
    Last Post: 02-03-2008, 04:06 AM
  4. Conditional formatting macro (highlight macro)
    By c991257 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2007, 02:46 PM
  5. Need macro to move down & select next visible row
    By Fartnuckles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2006, 10:02 PM

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