Transplanting Large Plants

by Debra Wyatt
(last updated February 6, 2016)

Macros really can make life easier. It is not uncommon to create macros that perform repetitive tasks, and thereby relieve us of the mundane tasks we might otherwise need to perform. It is also not uncommon to need to print out the current document after doing some processing on it. If you find yourself with this need, you can simply let the macro take care of printing the current document. To add this capability to your macros, simply include a line like this:

ActiveDocument.PrintOut Copies:=1

The PrintOut method prints the specified document; in this case, the ActiveDocument object—the document currently selected—is printed. In this particular usage, the Copies argument is used to specify how many copies of the document to print.

When using the PrintOut method, there are quite a few different arguments you can use. Rather than detail all of them, it is probably more useful to just look at some of the more common arguments you can use.

Argument Meaning
Copies The number of copies to print.
Pages The page ranges to print. The ranges are separated by commas and enclosed in quote marks, similar to how you specify page ranges in the Print dialog box.
PrintToFile Normally False, but you can set it to True if you want output to go to a disk file instead of the printer.
OutputFileName Only necessary if you set PrintToFile to True. Used to specify the file name of the output file.

Author Bio

Debra Wyatt

Deb has a communications degree and applies her talents to her position as Marketing Specialist at Sharon Parq Associates. In her spare time she spends time with her children and grandchildren and devotes time to her church. ...

MORE FROM DEBRA

Sour Cream Sugar Cookies

Wanting a great-tasting cookie that will have your family and friends asking for more? This is a great sour cream sugar ...

Discover More

Homemade Window Cleaner

Your dirty, smeared windows can be a thing of the past. Make your own window cleaner and see how fast, easy, clean, and ...

Discover More

Butter and Pound Cakes Explained

Confused about butter cakes and pound cakes? Could there really be a difference? Read on to learn more.

Discover More
MORE GARDENING TIPS

Gardening in Deep Shade

Shade gardens can be an overwhelming concept if you don't know where to start, but with a guide to which plants are shade ...

Discover More

Post Harvest Cleanup

Once the harvest has come and gone, your work isn't finished. There is still a little bit of post harvest cleanup left to do. ...

Discover More

Saving Money on Gardening Supplies

Be creative in your ways to find free or inexpensive gardening supplies. You'll be amazed at what you can find for little or ...

Discover More
Subscribe

FREE SERVICE: Receive an e-mail several times each week with a featured gardening tip. Enter your address and click "Subscribe."

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Videos

Subscribe to the Tips.Net channel:

Visit the Tips.Net channel on YouTube

Subscribe

FREE SERVICE: Receive an e-mail several times each week with a featured gardening tip. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

Links and Sharing
  • Ask a Question
  • Make a Comment
  • Free Printable Forms
  • Free Calendars
  • Share