Class Broadcast (Word VBA)

The class Broadcast represents a Windows Live Broadcast Service broadcast session.

The main procedure of class Broadcast is AddMeetingNotes

Set

To use a Broadcast class variable it first needs to be instantiated, for example

Dim brd as Broadcast
Set brd = ActiveDocument.Broadcast

Broadcast class variables can be set using the Document.Broadcast procedure.

Methods

This is the main method of the Broadcast class

AddMeetingNotes - Adds shared meeting notes for the specified broadcast that are accessible to attendees who use either Microsoft OneNote 2013 rich client or web app.

Dim strnotesUrl As String: strnotesUrl = 
Dim strnotesWacUrl As String: strnotesWacUrl =  
ActiveDocument.Broadcast.AddMeetingNotes notesUrl:=strnotesUrl, notesWacUrl:=strnotesWacUrl

Properties

AttendeeUrl if a broadcast is in progress, returns a String that represents the URL of the attendee link.

Dim strAttendeeUrl As String
strAttendeeUrl = ActiveDocument.Broadcast.AttendeeUrl

Capabilities returns a Long that represents the capabilities of the specified broadcast.

Dim lngCapabilities As Long
lngCapabilities = ActiveDocument.Broadcast.Capabilities

Parent returns an object that represents the parent object of the specified Broadcast object.

Dim objParent As Object
Set objParent = ActiveDocument.Broadcast.Parent

PresenterServiceUrl if a broadcast is in progress, returns a String that represents the URL of the presenter service hosting the broadcast.

Dim strPresenterServiceUrl As String
strPresenterServiceUrl = ActiveDocument.Broadcast.PresenterServiceUrl

SessionID if a broadcast is in progress, returns a String that specifies the ID of the session.

Dim strSessionID As String
strSessionID = ActiveDocument.Broadcast.SessionID

State returns an MSOBroadcastState constant that describes the current broadcast state.

Dim mbsState As Office.MsoBroadcastState
mbsState = ActiveDocument.Broadcast.State