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.

Modificar otro libro

publicado

Hola:

Una de las cosas que mas me gusta de los foros es que cada día se aprende algo, incluso de la pregunta mas tonta sale algo interesante que guardarse en la mochila.

SuperBianchi1 en Foro Excel • Ver Tema - Cambiar una celda de excel desde power point

Yo recordé la posibilidad de crear una instancia a Excel y desde ahí actuar en consecuencia.

Tras mi orgullosa solución, la respuesta de Cacho fue demoledora.

Aquí os la dejo, vale para cualquier aplicación, incluso aunque no sea de MsOffice.

Vale la pena perder un poco de tiempo en la ayuda sobre GetObject.

Saludos



Private Sub ModificarCeldaDeOtroLibro()


Set Libro = GetObject("C:\Libro1.xlsx")
Set Hoja = Libro.Sheets("Hoja1")

Hoja.Range("A1") = "Hola"
Hoja.Range("A2") = "Adios"

Libro.Close SaveChanges:=True


End Sub



[/CODE]

[size=3][color=#ff0000][b]!! Que sencillo,...Que bonito,...Que elegante !![/b][/color][/size]

Featured Replies

No hay posts para mostrar

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.