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.

como Crear hipervinculo a la par de una capeta

publicado

Hola buenas tardes, espero se encuentren bien 

Duda: se puede crear hipervinculo automatico al escribir en la celda, y que a su vez se cree una carpeta con el texto de esa celda ? 
 

es decir en una celda escribo: “raton” y se cre un hipervinculo en ese texto y que se cree a su vez una carpeta ? con ese nombre !??? ????  se puede hacer eso ? O ya dejo de beber? ?

 

gracias de antemano.

Featured Replies

publicado

Suponiendo que actúas sobre la columna A.

Pon en la hoja esta macro.

Private Sub Worksheet_Change(ByVal Target As Range)
Dim Carpeta As String
On Error Resume Next
If Target.Address Like "$A$*" Then '<----- corregir si es necesaio
   Carpeta = ThisWorkbook.Path & "\" & Target.Value
   If Dir(Carpeta, 16) = "" Then
      MkDir (Carpeta)
      ActiveSheet.Hyperlinks.Add Anchor:=Target, Address:=Carpeta
   End If
End If
End Sub

Y por favor, no dejes de beber,.......???

publicado
Hace 5 horas, Antoni dijo:

Suponiendo que actúas sobre la columna A.

Pon en la hoja esta macro.


Private Sub Worksheet_Change(ByVal Target As Range)
Dim Carpeta As String
On Error Resume Next
If Target.Address Like "$A$*" Then '<----- corregir si es necesaio
   Carpeta = ThisWorkbook.Path & "\" & Target.Value
   If Dir(Carpeta, 16) = "" Then
      MkDir (Carpeta)
      ActiveSheet.Hyperlinks.Add Anchor:=Target, Address:=Carpeta
   End If
End If
End Sub

Y por favor, no dejes de beber,.......???

Eres mi heroe antoni.

Un abrazo compi.

publicado
  • Autor
Hace 5 horas, Antoni dijo:

Suponiendo que actúas sobre la columna A.

Pon en la hoja esta macro.


Private Sub Worksheet_Change(ByVal Target As Range)
Dim Carpeta As String
On Error Resume Next
If Target.Address Like "$A$*" Then '<----- corregir si es necesaio
   Carpeta = ThisWorkbook.Path & "\" & Target.Value
   If Dir(Carpeta, 16) = "" Then
      MkDir (Carpeta)
      ActiveSheet.Hyperlinks.Add Anchor:=Target, Address:=Carpeta
   End If
End If
End Sub

Y por favor, no dejes de beber,.......???

Gracias Antoni, va de maravilla!!  sabia que el alcohol no tenia nada que ver.

Eres un Master!!

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.