Solved

Problem with PrintForm

Posted on 2013-12-22
3
195 Views
Last Modified: 2013-12-22
Folks,
I have a command button with the following:
Private Sub cmdPrintSolutionPerHour_Click()
Me.PrintForm
End Sub

Open in new window

I'm not getting any output to my printer.
0
Comment
Question by:Frank Freese
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39735058
Is that sub in the same form that you want to print?

Try adding Printer.EndDoc after line 2.
0
 

Author Comment

by:Frank Freese
ID: 39735061
Martin,
My printers are wireless and right now I can't even get a test page to print....check back later.
0
 

Author Closing Comment

by:Frank Freese
ID: 39735307
Martin,
The solution was that my son did some router maintenance last night and forgot to change thee IP addresses. Printers OK now
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Looking for macro to do version saving of workbooks in Excel 2016. 6 38
macro for each dropdown 15 45
Excel Formula 4 28
Filling Blank Cells 14 19
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

910 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

19 Experts available now in Live!

Get 1:1 Help Now