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, porqué no funciona?

publicado

Hola saludos a todos espero me puedan ayudar.

Necesito que este código haga el proceso de deshabilitar o quitar un comando (botón) de la barra de herramientas de acceso rápido que cree para ejecutar una macro y ya terminada la macro se quite.


comando-barra-rapido

utilicé el siguiente código

Sub EliminarComandoBarraAccesoRapido()

Application.CommandBars("Quick Access Toolbar").Controls("Conectar SQL").Delete

End Sub


Pero me muestra el siguiente error


error-sub-delete


error-2

Espero me puedan ayudar por favor.

Gracias.

Featured Replies

publicado

la QAT esta pensada para personalizaciones del usuario, por lo que no se "expone" directamente al desarrollador ("manipulaciones" por vba)
por lo mismo es que el proceso es "manual" y desde la interfaz con el usuario (tal como lo habras hecho)
hay un archivo QAT que contiene las personalizaciones, pero no se puede editar mientras esta abierta la aplicacion

necesitas "programar" la parte "xml" de un archivo habilitado para macros (*.xlsm/b) o complemento, mira por aqui:
Customizing the Quick Access Toolbar in the 2007 Office Fluent User Interface
(la parte de "Adding Controls Using XML")

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.