pasobdry.blogg.se

Ms word 2011 for mac change case
Ms word 2011 for mac change case









ms word 2011 for mac change case
  1. #MS WORD 2011 FOR MAC CHANGE CASE CODE#
  2. #MS WORD 2011 FOR MAC CHANGE CASE WINDOWS#

' to run this, start word and ensure that a single blank doument, ' Sets the Normal template to have the settings we would like RevisionsBalloonWidthType = WdRevisionsBalloonWidthType.wdBalloonWidthPercent Then RevisionsBalloonWidth = preferredBalloonWidth RevisionsBalloonWidthType = preferredBalloonWidthType 'Const preferredBalloonWidth As Single = 300Ĭonst preferredBalloonWidthType As Integer = WdRevisionsBalloonWidthType.wdBalloonWidthPercentĬonst preferredBalloonWidth As Single = 25 'Const preferredBalloonWidthType As Integer = WdRevisionsBalloonWidthType.wdBalloonWidthPoints ' The numbers Word reports are the numbers you have set, not the values ' not looked at such as screen size and so on. ' NB, there seems to be a minimum anyway, but that may depend on things I have ' set your preferred measurement type and width here.

ms word 2011 for mac change case

If you want "the minimum", I suppose using the value "1" may be enough for either points or percent. Word does not report the width it has set when you inspect the values - it reports the widths you tried to set. But for example, setting a width of 5%, 10%, 15% here has exactly the same effect, and I need to go to 21% or some such to increase it.

ms word 2011 for mac change case

If you do need it, and you already have an AutoOpen in your Normal.dotm, you will need to modify your existing routine, then remove/rename mine.Īlong the way, I realised that there is a minimum width, which is what folled me into thinking that the values were not "taking". If not, delete or rename the AutoOpen sub. However, there is also an AutoOpen routine in there which you may need to change the settings for existing documents. This should fix normal.dotm itself and change the default behaviour in future (I think!). "based on" Normal.dotm", run the routine. Change the width values att he top to the ones you want to use.

#MS WORD 2011 FOR MAC CHANGE CASE CODE#

  • you may need to prefix "ActiveWindow" by "ActiveDocument." (without the quotation marks) to get this to work.įWIW I would give you the equivalent applescript, but I can't see the equivalent property names in the Dictionary for Word 2011.Īlternatively, you can put the following code in a new Module in your Normal template (you can do that in the VB Editor).
  • Would "take" But perhaps I did something wrong along the way. To have to modify the revisionsballoonwidthtype first, then my change
  • when I first tried changing the width value, it didn't work.
  • Where you put the width in points instead of "200" If you actually want a width in points, execute =1 (put the percentage you want where I have put "10") and execute that. If so, change the command to the following (delete the "?" and append "=0") =0 I think you will see the value "1" displayed in the Immediate Window. Here, and press return/enter at the end ? Type the following into the immediate Window, or copy/paste it from VBE's View->Immediate Window to display it If you cannot see a window titled "Immediate Window" in the VBE, use

    #MS WORD 2011 FOR MAC CHANGE CASE WINDOWS#

    Ideally, try to organise the Word and VBE windows so you can click in Width can be different for different views).Ĭlick Word->Tools->Macro->Visual Basic Editor. Open your document and enable the View that you want to change (the At the bottom I have now added some VBA for insertion in your Normal template for those who are familiar with that.įor VBA, not quite sure that you do not need to enable the Developer tab, but. As usual, there are a lot more steps than I'd want. I cannot see any facility for doing this in the User Interface, but you can do it in code.











    Ms word 2011 for mac change case