Can someone provide a quick macro that switches between inline view and balloon view?
I think this would be a pretty neat macro to assign to a keyboard shortcut too.
Macro that switches between inline view and balloon view?
-
- 4StarLounger
- Posts: 437
- Joined: 05 Nov 2012, 20:02
-
- Administrator
- Posts: 78651
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Macro that switches between inline view and balloon view
Create the following macro in a module in your Normal.dotm template:
You can assign it to a keyboard shortcut the normal way (through File > Options > Customize Ribbon > Customize...)
Code: Select all
Sub ToggleBalloons()
With ActiveWindow.View
If .MarkupMode = wdBalloonRevisions Then
.MarkupMode = wdInLineRevisions
Else
.MarkupMode = wdBalloonRevisions
End If
End With
End Sub
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 437
- Joined: 05 Nov 2012, 20:02
Re: Macro that switches between inline view and balloon view
That worked! Thanks.
HansV wrote:Create the following macro in a module in your Normal.dotm template:
You can assign it to a keyboard shortcut the normal way (through File > Options > Customize Ribbon > Customize...)Code: Select all
Sub ToggleBalloons() With ActiveWindow.View If .MarkupMode = wdBalloonRevisions Then .MarkupMode = wdInLineRevisions Else .MarkupMode = wdBalloonRevisions End If End With End Sub