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.

Abrir formulario 2 desde formulario 1 y viceversa

publicado

Hola Buenas tardes.

Solicito nuevamente su orientacion y ayuda.

Tengo un formulario (Formulario1) desde el cual puedo abrir el formulario2.

Estoy usando esta macro en Formulario1:

Formulario2.Show[/PHP]

Estoy suando esta macro en el formulario 2:

[PHP]Private Sub UserForm_Initialize()

If FURMULARIO1.Visible = True Then Unload FROMULARIO1
End Sub[/PHP]

Para que al abrir el formulario 2 se cierre el formulario 1, pero al hacerlo en viceversa me bota

el error.

Parcticamente lo que deseo hacer es, del formulario 1 abrir el formulario 2 y se cierre el formulario 1,

y del formulario 2 poder abrir el formulario 1 y que se cierre el formulario 2.

De antemano muchas gracias.

Espero alguien desee ayudarme.

Featured Replies

publicado

Hola en el formulario1:

Private Sub CommandButton1_Click()
FURMULARIO1.Hide
FURMULARIO2.Show
End Sub

Private Sub UserForm_Activate()
Unload FURMULARIO2
End Sub
[/CODE]

En el formulario2

[CODE]Private Sub CommandButton1_Click()
FURMULARIO2.Hide
FURMULARIO1.Show
End Sub

Private Sub UserForm_Activate()
Unload FURMULARIO1
End Sub[/CODE]

Salu2

publicado
  • Autor

Exelente respuesta la tuya Riddle.

Muchas gracias por tu ayuda.

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.