Sou iniciante nesse assunto,poderiam me ajudar,por favor?
No PowerPoint,fiz um código vinculado a um CommandButton que abre uma pasta de trabalho,porém quando clico nele,o Excel abre,mas fica piscando na barra de tarefas e a Apresentação do PowerPoint continua aberta.É possível quando clicar no botão o Excel abrir na frente da Apresentação?
Private Sub cmbFAUUSP_Click()
Dim ExcApp As Excel.Application
Set ExcApp = New Excel.Application
ExcApp.Visible = True
ExcApp.Workbooks.Open ("C:\Users\Monster PC\Desktop\tabeladedisciplinas FAUUSP.xlsx")
Set pastatrabalho = ExcApp.ActiveWorkbook
pastatrabalho.Application.ActiveWindow.WindowState = xlMaximized
pastatrabalho.Application.DisplayFullScreen = True
End Sub
Vídeo recomendado
https://youtu.be/diWPPPhW-9E
https://youtu.be/diWPPPhW-9E
Integração de PowerPoint com Excel
-
- Acabou de chegar
- Mensagens: 8
- Registrado em: Seg Fev 15, 2021 6:33 pm