Перейти к содержимому

VBA - A mágica do Application.SendKeys

Tomas Vasquez

0:00 / 0:00

VBA - A mágica do Application.SendKeys

19 900 просмотров · 7 лет назад
Tomas Vasquez
11,6 тыс. подписчиков
19 900 просмотров · 7 лет назад
#VBA #Excel #Application.SendKeys Sem muito para escrever aqui, mas o vídeo está bem legal :) Código do vídeo: Sub VamosTestarOSendKeys() Application.SendKeys "%" 'ALT Application.SendKeys "a" End Sub Sub Teste() With Application .SendKeys "^{ESC}" .Wait Now + TimeValue("00:00:01") .SendKeys "Chrome" .Wait Now + TimeValue("00:00:01") .SendKeys "~" .Wait Now + TimeValue("00:00:01") .SendKeys "Microsoft Excel" .SendKeys "~" .Wait Now + TimeValue("00:00:01") .SendKeys "{TAB}" .Wait Now + TimeValue("00:00:01") .SendKeys "~" .Wait Now + TimeValue("00:00:01") .SendKeys "~" .Wait Now + TimeValue("00:00:01") End With End Sub Método Application.SendKeys: https://docs.microsoft.com/pt-br/offi... Acesse também BLOG ► https://www.tomasvasquez.com.br/blog/ FÓRUM ► https://www.tomasvasquez.com.br/forum/ CURSO ONLINE DE C# ► https://www.tomasvasquez.com.br/curso... Aqui também! FACEBOOK ►   / tomasvaquezsites   TWITTER ►   / tomamais   GOOGLE+ ► https://plus.google.com/+TomasvasquezBr/ Roteiro, apresentação, edição, etc, etc ► eu mesmo :)