Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-08-2016, 07:29 AM
mpparker mpparker is offline Button in Header switches document to Draft View Windows 7 64bit Button in Header switches document to Draft View Office 2010 64bit
Novice
Button in Header switches document to Draft View
 
Join Date: Jul 2016
Posts: 2
mpparker is on a distinguished road
Question Button in Header switches document to Draft View

Hi,

I am using Word 2010 on Windows 7 with some VBA to calculate progress as the user checks boxes.



I have an Active-X button in the header of my document that unchecks all of the check-boxes in the document and puts the progress at 0. The code and calculations work properly, but when I click the reset button, the document view is automatically switched from "Print View" to "Draft View."

Is there any way to prevent this?

-Matt
Reply With Quote
  #2  
Old 07-08-2016, 08:46 PM
gmayor's Avatar
gmayor gmayor is offline Button in Header switches document to Draft View Windows 10 Button in Header switches document to Draft View Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,103
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

On the face of it, if you save your document as a template and create new documents from it, the button should not be necessary.

If you have a button in the header, you have to open the header view in order to access the button, which surely can't be good? However have you considered adding a line to the button code to change the view back to what you require it to be?
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 07-10-2016, 09:51 AM
mpparker mpparker is offline Button in Header switches document to Draft View Windows 7 64bit Button in Header switches document to Draft View Office 2010 64bit
Novice
Button in Header switches document to Draft View
 
Join Date: Jul 2016
Posts: 2
mpparker is on a distinguished road
Default Thanks!

I had not thought of that, but logically, it should work. thanks!
Reply With Quote
Reply

Tags
activex control, draft view, header



Similar Threads
Thread Thread Starter Forum Replies Last Post
Draft view: center text on screen icetbr Word 11 07-19-2016 11:48 AM
Button in Header switches document to Draft View left margin suddenly disappeared in Draft view GilCanada Word 1 11-30-2015 08:42 PM
Button in Header switches document to Draft View Word 2010 Stuck in Draft View! Please Help! Hags08 Word 1 12-07-2012 11:29 PM
Getting out of Draft View Microsoftenquirer1000 Word 2 04-09-2012 11:52 AM
Word 2010: always open in Draft View cprelude Word 11 12-20-2011 06:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:20 AM.


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