Professional Documents
Culture Documents
*
* DESENVOLVIDO POR EVANDRO FRANCO - Codigo em Excel VBA com Banco Access
*
*
*
* Evandro Franco Especialista em Excel, sendo Desenvolvedor em outras Linguagens
*
* So elas: C#, VB.Net, VB6 e com grande conhecimento em bancos de Dados
*
*
*
**********************************************************************************
*
MENU SUSPENSO
Private Sub LblArquivo_Click()
Application.CommandBars("cell").Reset
Menu.Visible = False
Next Menu
With Application.CommandBars("cell").Controls.Add(Temporary:=True)
.Caption = "Calculadora"
.OnAction = "Calculadora"
.FaceId = 283
End With
Application.CommandBars("Cell").Controls.Add(Type:=msoControlPopup).Caption =
"Office"
With Application.CommandBars("cell").Controls("&Office")
With .CommandBar.Controls.Add(Type:=msoControlButton)
.FaceId = 264
.Caption = "Access"
.OnAction = "AbreAccess"
End With
With .CommandBar.Controls.Add(Type:=msoControlButton)
.FaceId = 267
.Caption = "PowerPoint"
.OnAction = "AbrePowerPoint"
End With
With .CommandBar.Controls.Add(Type:=msoControlButton)
.FaceId = 42
.Caption = "Word"
.OnAction = "AbreWord"
End With
End With
With Application.CommandBars("cell").Controls.Add(Temporary:=True)
.Caption = "Permisses"
.OnAction = "Permissoes"
.FaceId = 3198
End With
Application.CommandBars("cell").ShowPopup
End Sub
***********************************************************************************
************************
MDULO
Sub Calculadora()
Application.ActivateMicrosoftApp xlcalc
End Sub
Sub AbreAccess()
Application.ActivateMicrosoftApp xlMicrosoftAccess
End Sub
Sub AbrePowerPoint()
Application.ActivateMicrosoftApp xlMicrosoftPowerPoint
End Sub
Sub AbreWord()
Application.ActivateMicrosoftApp xlMicrosoftWord
End Sub
Sub Permissoes()
FrmPermissoes.Show
End Sub