Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ejecutar prueba de Ping cada cierto tiempo

publicado

Hola a todos por aqui

Ya tengo un macro que me realiza un Ping a una lista de IP que aqui muy amable me ayudaron a corregir unos errorsillos que me ayudo a perfeccionarlo, pero ahora estoy intentando hacer que la prueba me la realice el tiempo que uno le ingrese, pero me me marca el siguiente error

imagen.thumb.png.cd7d78eddc640a1f8dc5c1681bd5a47d.png

tengo 3 botones, 1 corre la prueba de PING, 2 inicia el autoping, 3 detiene el autoping

imagen.png.747b454207863fcd0d287ddec37b0b27.png

y el codigo  que tengo es el siguiente

Dim Tiempo As Variant
Dim contador As Long

Private Sub PingLista_Click()
Call EnviarPing_CSR_Concent
End Sub


Private Sub Fin_AutoPing_Click()
On Error Resume Next
    Application.OnTime Tiempo, Procedure:="Inicio_AutoPing", Schedule:=False
contador = 0
End Sub


Private Sub Inicio_AutoPing_Click()
Dim IngTime As String
On Error Resume Next
    'repetición del tiempo por ejemp: 30 minutos
    IngTime = InputBox("Ingrese el tiempo en: hh:mm:ss (00:00:00) " & vbCr & "Como el de la hora actual: " & Format(Time, "hh:mm:ss"), "INGRESAR TIEMPO", "00:00:00")
    Tiempo = Now + TimeValue(IngTime)

'llama a esta misma macro en el tiempo estipulado
    Application.OnTime Tiempo, "Inicio_AutoPing", Schedule:=True

    Call EnviarPing_CSR_Concent

End Sub

 

Featured Replies

publicado
  • Autor
En 4/6/2021 at 4:01 , Antoni dijo:

Reasigna de nuevo las macros a los botones.

Lo voy a checar.... gracias por el dato

publicado
  • Autor

buenas noches @Antoni ya realice lo que me comento y me volvió a salir el mismo mensaje de que los macros han sido deshabilitados, adjunto el archivo para ver si puede ayudarme

Pingeo.xlsm

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.