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.

ayuda como abrir un video en excel q esta en la misma carpeta de mi libro excel!!

publicado

hola diculpe q le moleste recien me estoy iniciando en programacion excel necesito saber como aplicar ruta relativa en excel osea tengo un video y logre incrustarlo en excel lo puedo ver con windows player pero cuando lo llevo a otra carpeta o computadora no me lo reproduce me dijeron que tengo q usar ThisWorkbook.Path o algo asi pero no logro de ningunamanera poder usarlo ejemplo

mi archivo y video estan esta direccion :

C:\Users\edu\Desktop\Nueva carpeta 3\video.mp4

C:\Users\edu\Desktop\Nueva carpeta 3\libro1.xlsx

ahora

Private Sub WindowsMediaPlayer1_OpenStateChange(ByVal NewState As Long)

Workbooks.Open ThisWorkbook.Path & "\video.mp4"

End Sub

y no pasa nada disculpen mi ignorancia jeje

y en las propiedades de windowsplayer en personalizar solo me da para poner toda la ruta entera que seria

C:\Users\edu\Desktop\Nueva carpeta 3\video.mp4

y desde ya gracias a alguien q pueda ayudarme

Featured Replies

publicado

Hola:

Cuando estas intentando 'abrir' el video, estas usando sentencias de Excel, tienes que usar las adecuadas para el objeto ActiveX que tienes ahí:


WindowsMediaPlayer1.URL = ThisWorkBook.Path & "\video.mp4"
[/CODE]

Colócalo en algún evento de tu ¿hoja? o de tu ¿userform? (no me queda claro en donde tienes el objeto). Tampoco olvides reemplazar el nombre 'WindowsMediaPlayer1' por el nombre de tu objeto.

Abraham

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.