Compartir a través de


Propiedad TableView.ShowNewItemRow (Outlook)

Devuelve o establece un valor Boolean que determina si se muestra la fila para elementos nuevos en el objeto TableView. Lectura y escritura

Sintaxis

expresión. ShowNewItemRow

expresión Variable que representa un objeto TableView .

Observaciones

El valor de esta propiedad sólo se aplica si la propiedad AllowInCellEditing está establecida en True.

Ejemplo

El ejemplo siguiente Visual Basic para aplicaciones (VBA) se configura el objeto TableView actual para que se permite la modificación de las celdas y se muestra la fila para elementos nuevos en la vista.

Private Sub ConfigureEditableView() 
 
 Dim objTableView As TableView 
 
 
 
 If Application.ActiveExplorer.CurrentView.ViewType = _ 
 
 olTableView Then 
 
 
 
 ' Obtain a TableView object reference for the 
 
 ' current table view. 
 
 Set objTableView = _ 
 
 Application.ActiveExplorer.CurrentView 
 
 
 
 With objTableView 
 
 ' ShowNewItemRow is ignored if 
 
 ' AllowInCellEditing is set to 
 
 ' False. 
 
 .AllowInCellEditing = True 
 
 
 
 ' Display the new item row in 
 
 ' the table view. 
 
 .ShowNewItemRow = True 
 
 
 
 ' Save the table view. 
 
 .Save 
 
 End With 
 
 End If 
 
End Sub

Vea también

Objeto TableView

Soporte técnico y comentarios

¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar comentarios.