Jump to content
Fórum Script Brasil
  • 0

Fechar Form FrmCalendario automaticamente após selecionar a data.


Question

Ao clicar nas células da coluna 3 (C), usando o BeforeDoubleClick abro um Form de calendário, mas para fechá-lo após selecionar a data tenho que apertar Esc ou Fecha-lo manualmente, gostaria de saber como fechar o Form após selecionar a data.

segue o código: 

 

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column = 3 Then
frmCalendario.Show
End If


End Sub

 

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      149194
    • Total Posts
      645460
×
×
  • Create New...