If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > button print

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-16-07, 23:01
akuccputsedut akuccputsedut is offline
Registered User
 
Join Date: Jun 2007
Posts: 35
Lightbulb button print

hi..

how to make button from control toolbox on worksheet function as a button print in excel..using vba

thank's for help..
__________________
**akuccputsedut**
Intelligent is Me!!But a little confusing
sometimes needs HELP!!
Reply With Quote
  #2 (permalink)  
Old 08-27-07, 20:30
wattch wattch is offline
Registered User
 
Join Date: Aug 2007
Posts: 3
Hi,

Here is some code that I use in one of my proceedures:

Code:
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
        "PDFill PDF Writer on Ne00:", Collate:=True
It may just get you started.

I'm using this to print to PDF but you could just insert your printer name.

Regards
Wattch
Reply With Quote
  #3 (permalink)  
Old 08-29-07, 03:49
akuccputsedut akuccputsedut is offline
Registered User
 
Join Date: Jun 2007
Posts: 35
ok

thank's you use pdf i mean acrobat pro or free PDF neo is printer name or what??
__________________
**akuccputsedut**
Intelligent is Me!!But a little confusing
sometimes needs HELP!!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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