The VP REMOVE STYLESHEET command removes the style sheet passed in the styleName from the vpAreaName.
In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.
Pass the style sheet to remove in the styleName parameter.
You can define where to remove the style in the optional scope parameter using the sheet index (counting begins at 0) or with the following constants:
Constant |
Value |
Comment |
vk current sheet |
-1 |
Designates current sheet of the 4D View Pro area (default) |
vk workbook |
-2 |
Designates the entire workbook of the 4D View Pro area. |
To remove the GreenDashDotStyle style object from the current sheet:
VP REMOVE STYLESHEET("ViewProArea";"GreenDashDotStyle")