Macro that switches between inline view and balloon view?

New Daddy
4StarLounger
Posts: 437
Joined: 05 Nov 2012, 20:02

Macro that switches between inline view and balloon view?

Post by New Daddy »

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.

User avatar
HansV
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

Post by HansV »

Create the following macro in a module in your Normal.dotm template:

Code: Select all

Sub ToggleBalloons()
    With ActiveWindow.View
        If .MarkupMode = wdBalloonRevisions Then
            .MarkupMode = wdInLineRevisions
        Else
            .MarkupMode = wdBalloonRevisions
        End If
    End With
End Sub
You can assign it to a keyboard shortcut the normal way (through File > Options > Customize Ribbon > Customize...)
Best wishes,
Hans

New Daddy
4StarLounger
Posts: 437
Joined: 05 Nov 2012, 20:02

Re: Macro that switches between inline view and balloon view

Post by New Daddy »

That worked! Thanks.
HansV wrote:Create the following macro in a module in your Normal.dotm template:

Code: Select all

Sub ToggleBalloons()
    With ActiveWindow.View
        If .MarkupMode = wdBalloonRevisions Then
            .MarkupMode = wdInLineRevisions
        Else
            .MarkupMode = wdBalloonRevisions
        End If
    End With
End Sub
You can assign it to a keyboard shortcut the normal way (through File > Options > Customize Ribbon > Customize...)