SetCustomNameComment Method (SheetView)
Adds a comment to the specified custom name.
'Declaration
Public Function SetCustomNameComment( _
ByVal As String, _
ByVal As String, _
ByVal As Boolean _
) As Boolean
'Usage
Dim instance As SheetView
Dim name As String
Dim comment As String
Dim sheetViewScope As Boolean
Dim value As Boolean
value = instance.SetCustomNameComment(name, comment, sheetViewScope)
Parameters
- name
- Name of custom name to which to add a comment
- comment
- Comment to add
- sheetViewScope
- If true, add to model scope; if false, add to custom name to share
Return Value
If true, comment is set; otherwise, false.