Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-15-2011, 06:05 AM
cprelude cprelude is offline Word 2010: always open in Draft View Windows 7 64bit Word 2010: always open in Draft View Office 2010 32bit
Novice
Word 2010: always open in Draft View
 
Join Date: Dec 2011
Posts: 9
cprelude is on a distinguished road
Question Word 2010: always open in Draft View

Hi there,
I have the following working fine when I open word and create a New Document. Anyone know how to get this macro to run as word is opening? I.e., I mean by this when I actually run the programme, cannot get the programme to run this macro automatically when it OPENS? As opposed to me having to click New Document every time I open Word?

Code:
Sub AutoNew()
'Display filename and path in window title bar
ActiveWindow.Caption = ActiveDocument.FullName
'The remaining settings are the same as for autonew
ActiveWindow.ActivePane.DisplayRulers = True
With ActiveWindow.View
  .Type = wdNormalView
  .Zoom.Percentage = 160
  'fix the tiny cursor error
End With
End Sub


Last edited by macropod; 12-19-2011 at 06:52 PM. Reason: Fixed code presentation
Reply With Quote
 

Tags
draft view, macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2010 view of cel missing isla Excel 2 09-27-2013 09:35 AM
Word 2010: always open in Draft View My draft message gets deleted from drafts when I send it? Bansaw Outlook 2 07-28-2011 08:45 AM
contact open but can't view? upperhopton Outlook 0 07-27-2011 03:08 AM
Word 2010: always open in Draft View Suddenly cannot view open documents... 2010Problem Word 4 06-05-2011 01:07 PM
Word 2010: always open in Draft View Text created in Work 2010- will not open in Word 2007 Ole Sarge Word 1 05-27-2011 03:06 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:37 AM.


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