Retrieves the user name of the continuous user.
Syntax
object.GetContinuousUser(bstrUserName, lcount)
Properties
The GetContinuousUser method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrUserName |
String. The user name of the continuous user. |
lcount |
Long. Returns the value of the continuous user counter. Use the counter to determine if the continuous user has been modified since a previous call to the GetContinuousUser method. |
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.