![]() |
|
#1
|
|||
|
|||
|
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 |
| 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 |
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 |
Suddenly cannot view open documents...
|
2010Problem | Word | 4 | 06-05-2011 01:07 PM |
Text created in Work 2010- will not open in Word 2007
|
Ole Sarge | Word | 1 | 05-27-2011 03:06 PM |