Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2011, 06:13 PM
macropod's Avatar
macropod macropod is offline Macro to print "Current Page" in Word 2010 Windows 7 32bit Macro to print "Current Page" in Word 2010 Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,536
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Jshopping,

Some of us live in different time zones to you, and aren't available 24/7.



You could try:
Code:
Sub PrintOne()
ActiveDocument.PrintOut From:="p1s1", To:="p1s1"
ActiveDocument.PrintOut wdPrintCurrentPage
End Sub
Delete whichever 'PrintOut' line you don't want - the first one prints the first page of the first Section; the second one prints the current page.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 04-18-2011, 06:26 PM
Jshopping Jshopping is offline Macro to print "Current Page" in Word 2010 Windows XP Macro to print "Current Page" in Word 2010 Office 2003
Novice
Macro to print "Current Page" in Word 2010
 
Join Date: Jan 2011
Location: NYC
Posts: 17
Jshopping is on a distinguished road
Default

Thanks Paul. I know, those seven people who viewed the question probably figured it was so easy I should dig. I did, and it was.
Take care.
Reply With Quote
  #3  
Old 04-18-2011, 06:28 PM
macropod's Avatar
macropod macropod is offline Macro to print "Current Page" in Word 2010 Windows 7 32bit Macro to print "Current Page" in Word 2010 Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,536
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Jshopping View Post
Thanks Paul. I know, those seven people who viewed the question probably figured it was so easy I should dig. I did, and it was.
Take care.
Or maybe they didn't know the answer either and were hoping you might have posted something they could use ...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 06-07-2012, 04:18 PM
leis leis is offline Macro to print "Current Page" in Word 2010 Windows XP Macro to print "Current Page" in Word 2010 Office XP
Novice
 
Join Date: May 2012
Posts: 3
leis is on a distinguished road
Default

I still am questioning the actual input of this macro for printing the current page; do you create the macro exactly (as follows) copied:

Sub PrintOne()
ActiveDocument.PrintOut From:="p1s1", To:="p1s1"
ActiveDocument.PrintOut wdPrintCurrentPage
End Sub


And as the thread (you mention) the second line is for the current page whereas the first is for printing the first field.
I would like to just have the macro to function in order to (quickly) print the current page.
My problem, though, when i created this macro, I assigned it to (for example) Control + Alt + e (and it seemed to be in order and those key combo opened) but when I brought it up.... by hitting Control, Alt E....
it did come up (alright) just as the copy above that i copied from the thread. Then I remembered it was also going to function as a button or to be added to the quick access toolbar, to which, I then made up the button and it copied to the toolbar (ok) but nothing happens when I click on the button and there's definitely nothing in the printer or the spooled copy job or anything from trying this.

Sorry if I'm providing a lot of the issue (of my own) without clarity or if it's not clear, I will re-submit, if possible, and maybe explain the steps I'm trying in order to get this procedural (macro) in order....

Thanks (either way) *

leis
Reply With Quote
Reply

Tags
macros



Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Update "Table of Contents" feature in Microsoft Word 2007 VS. Word 2010 Xarzu Word 0 09-22-2010 06:54 PM
"MS Office has not been installed for current user" webyourstuff Office 1 07-28-2010 08:49 AM
Macro to print "Current Page" in Word 2010 Making a Macro "autoopen" Joshocom Word 1 03-16-2010 05:03 PM
"Microsoft Excel Application" missing in the "Component Services" on win08 sword.fish Excel 0 02-26-2010 02:09 PM
Automated "Macro" to delete Tags/Anchors field3 Word VBA 0 02-25-2009 02:53 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2026 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft