SetCalcStatusLocked

Locks the cells for a period in a subcube. (For information on subcubes, see About Subcubes.)

After calling SetCalcStatusLocked, data cannot be entered in the cells until the cell is unlocked. Use SetCalcStatusUnlocked to unlock the cells.

Syntax

<HsvData>.SetCalcStatusLocked lScenario, lYear, lPeriod, lEntity, lParent, lValue

Argument

Description

lScenario

Long (ByVal). The member ID of the subcube’s Scenario dimension member.

lYear

Long (ByVal). The member ID of the subcube’s Year dimension member.

lPeriod

Long (ByVal). The member ID of the Period dimension member for which data is being locked.

lEntity

Long (ByVal). The member ID of the subcube’s Entity dimension member.

lParent

Long (ByVal). The member ID of the parent of the lEntity argument’s entity.

lValue

Long (ByVal). The member ID of the subcube’s Value dimension member.