Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Create A vba button on a spreadsheet that

Hi I was wondering what the VBA code would be to print out a worksheet in excel

Regards Joel
--
N/A
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Create A vba button on a spreadsheet that

Joel, how about,
ActiveSheet.PrintOut Copies:=1, Collate:=False

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Joel" wrote in message
...
Hi I was wondering what the VBA code would be to print out a worksheet in

excel

Regards Joel
--
N/A



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Create A vba button on a spreadsheet that

You already have that button. It's the print button in your standard
toolbar. If you want to see the VBA command, start recording a macro
and click this button. Off hand, I believe the code is
Activesheet.PrintOut (...)

Dom



Joel wrote:
Hi I was wondering what the VBA code would be to print out a worksheet in excel

Regards Joel
--
N/A


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
create a button in spreadsheet Ann Excel Discussion (Misc queries) 5 March 26th 10 06:00 PM
How do I create a button on a spreadsheet ? Lynn Excel Worksheet Functions 2 June 4th 08 10:23 PM
how do i create an option button in a spreadsheet? danab Excel Worksheet Functions 1 February 15th 08 12:19 AM
Create Print Button on spreadsheet Las Excel Worksheet Functions 2 November 22nd 06 12:14 AM
how do i create a button within a spreadsheet Brian Excel Discussion (Misc queries) 1 July 13th 05 03:12 AM


All times are GMT +1. The time now is 05:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"