Locks data blocks that appear in the current worksheet. You can lock only one view.
This function does not work with the EssVSendData function.
EssMenuVLock()
Returns 0 if successful. A negative number indicates a local failure (see VBA Return Values). A return value greater than zero indicates a failure on the server.
Declare Function EssMenuVLock Lib "ESSEXCLN.XLL"() As Long Sub MLock() X=EssMenuVLock() End Sub