SetContinuousUser Method

Sets the continuous user.

Syntax

object.SetContinuousUse(bstrUserName)

Properties

The SetContinuousUser method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bstrUserName

String. Name of the continuous user.

Return Value

This method returns HRESULT. If the HRESULT is a value other than S_OK, VBA generates an error. You can handle this error using the On Error Statement You can find out more information about the error by using Err Object.

 

Example

Applies To