[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

VBA to send keys

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
Rayne
Asked:
Rayne
1 Solution
 
Naresh PatelTraderCommented:
just record a macro.
0
 
MacroShadowCommented:
Sub PrintActiveSheet
     ActiveSheet.PrintOut
End Sub

Open in new window

0
 
RayneAuthor Commented:
thank you all
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now