|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Print only specified pages of word by 1 click of command button using vba
Hello
How to Print only specified pages of word by 1 click of command button using vba |
#2
|
||||
|
||||
How would you specify the pages with only one click? You are going to have to be more specific about what you want to achieve,
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
Why do you so hate me??
ok, for example I want to print only current page? How should I write macros where I already need to write file location and connect it to specify printer |
#4
|
||||
|
||||
I don't have any feelings for you whatsoever - what makes you think I hate you?
I have answered most of your questions that are answerable. I simply don't answer questions in personal messages. If I am going to take the time to answer questions I prefer that anyone who visits the forum may get the benefit of the information - and perhaps visit my web site. Some, like this one, required more information. Maybe http://www.gmayor.com/fax_from_word.htm will help as it has several print examples. To print the current page Code:
Sub PrintPage() Application.PrintOut Range:=wdPrintCurrentPage lbl_Exit: Exit Sub End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com Last edited by gmayor; 08-09-2018 at 07:21 AM. |
#5
|
|||
|
|||
Thank you for the answer!
|
#6
|
||||
|
||||
I suggest you learn some manners. Unfounded accusations of this kind won't endear you to anyone...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
I just said Thank you...
|
#8
|
||||
|
||||
Thanking someone for something they've done for you after you have made unfounded accusations does not excuse the accusations.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
aaaaa I already forgot about it
|
#10
|
|||
|
|||
Quote:
I am sorry for may bad manners. I will try to improve it. And thank you for the answer! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
save document in shairpoint by one command button click using the vba | Zhibek | Word VBA | 1 | 08-10-2018 12:31 AM |
Button within Word to print certain pages | hotcomper | Word | 1 | 08-10-2015 11:36 PM |
ActiveX Command Button disappears after click | Bengt | Word VBA | 1 | 09-18-2013 12:42 PM |
Command Button to Print Labels | Claytocb | Excel Programming | 1 | 02-01-2013 12:20 AM |
Word doc bug when closing from userform command button click macro | Joe Patrick | Word | 1 | 07-05-2011 08:53 PM |