Returns or sets a Boolean that determines if hidden folders will appear in the current web. Read/write.
expression.IsHiddenFoldersEnabled
expression Required. An expression that returns a WebEx object.
The following example prompts the user to display hidden folders in the current web. The IsHiddenFoldersEnabled property is set based on the user's response.
Sub ViewAllFolders()
'Prompts the user to view hidden folders
Dim objApp As FrontPage.Application
Dim objWeb As WebEx
Dim strAns As String
Set objApp = FrontPage.Application
Set objWeb = objApp.ActiveWeb
'prompt user
strAns = MsgBox("Do you want to view hidden folders?", vbYesNo)
'Set value of property to match user's response
If strAns = vbYes Then
objWeb.IsHiddenFoldersEnabled = True
Else
objWeb.IsHiddenFoldersEnabled = False
End If
End Sub