![]() |
|
#1
|
||||
|
||||
![]()
Hi folks.
Just a quickie. The code below is a quick fix for Word 2003's notorious "tiny cursor" error which sometimes arises. Is there any way of amending this so that VBA remembers the user's view settings (e.g. Print View, Reading View) and the current zoom percentage, and restores them after the quick zoom to 500%? Currently, this works for my own personal settings (Print View, Zoom 120%) but I'm mindful that I may wish to share the template with other users who have their own settings. Quote:
![]() |
#2
|
||||
|
||||
![]()
The usual way to do it is store the current setting in a variable and then use it afterwards
Code:
Sub WindowViewSettings() 'Macro to fix occasional "tiny cursor" error With ActiveWindow.View .Type = wdPrintView 'Print Layout View iPref = .Zoom.Percentage .Zoom.Percentage = 500 'Fix tiny cursor bug in Word 2003 .Zoom.Percentage = iPref 'Specify user's percentage End With End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting default View-Zoom level | ewormuth | Word | 4 | 06-02-2019 02:49 PM |
Export/import view settings of MS Outlook | ccc | Outlook | 0 | 06-06-2012 07:23 PM |
Change User Settings Globally within an Office. | Welshie82 | Word | 0 | 10-24-2011 07:56 AM |
![]() |
J_oe | Word | 1 | 02-17-2011 10:55 AM |
![]() |
djames1958 | Outlook | 1 | 10-17-2010 06:13 AM |