Solved

Printing Elements

Posted on 2004-03-24
5
133 Views
Last Modified: 2010-05-01
How do I print only certain things in my program?  Similairly to the print screen function.

Here's what I want to do:

I want to have a box with two text boxes inside of it.  All that I want to print is the lines of the box and the text that was typed.  I don't want to print the "background" of the program like the print screen function does.  I also don't want the box around the text box, and the white area of a text box to be printed.  I want them to be printed exactly as they are viewed on the screen.
0
Comment
Question by:pzebleckis498
  • 2
5 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 125 total points
Comment Utility
http://www.developerfusion.com/show/86/3/

Printer.Print textbox1.text & vbcrlf
Printer.print textbox2.text
0
 
LVL 53

Expert Comment

by:Dhaest
Comment Utility
My recommandation: answered by dhaest
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now