Solved

VBA to send keys

Posted on 2014-02-23
3
243 Views
Last Modified: 2014-02-23
Hello Gurus,

Because users are not very good with print options and how to print :(
I am simply creating a PRINT button in excel sheet that prints out the activehsset - how do i create a macro in vba that prints out the activehsheet?
0
Comment
Question by:Rayne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39881775
just record a macro.
0
 
LVL 27

Accepted Solution

by:
MacroShadow earned 500 total points
ID: 39881777
Sub PrintActiveSheet
     ActiveSheet.PrintOut
End Sub

Open in new window

0
 

Author Closing Comment

by:Rayne
ID: 39881811
thank you all
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

751 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