AllowViewSource Property

Property that allows you to get or set whether users can view the HTML source for the contents of the dialog box by right clicking the dialog box.

object.AllowViewSource = new_state
existing_state
= object.AllowViewSource

Arguments

object

Required.  A variable containing a dialog object created by calling CreateObject or new ActiveXControl.

new_state

Required. True if users can view the source, False otherwise.

existing_state

Required. True if users can view the source, False otherwise.

Remarks
None.

Example
None.