Saludos Profesor Sergio, de ante mano gracias por responder, realice lo que me sugirió coloque el código donde me indicó, sin embargo me sigue arrojando el mismo error.
' Restaurar formato de fuente
With wsHistorico.Rows("2:2").Font
.ColorIndex = xlAutomatic
.TintAndShade = 0
End With
' Incrementar automáticamente el número de recibo
wsRecibo.Range("J2").Value = wsRecibo.Range("J2").Value + 1
'Corrección de Error en impresión
Application.Wait (Now + TimeValue("0:00:01"))
' Imprimir
wsRecibo.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
Por
dorgelis, · publicado
Tengo varias macros en una misma hoja y el excel me bota un error y no me las deja ejecutar por favor me pueden colaborar.
El código es el siguiente:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$c$7" Then MostrarVentasFacturadas
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$c$8" Then MostrarVentasPerCapita
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$c$9" Then MostrarRotacionTotal
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$c$10" Then MostrarRotacionNeta
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$c$11" Then MostrarRotacionVoluntaria
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$c$12" Then MostrarRotacionForzada
End Sub