Este fórum está sendo desativado

Depois de 9 anos, este fórum será desativado. Mas calma.... estamos migrando para uma comunidade no DISCORD. Junte-se a nós.

ENTRAR PARA DISCORD

Tópicos relacionados a códigos VBA, gravação de macros, etc.
Por Edgardy
#64823
ALGUÉM PODE ME AJUDAR??

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sub CLICANDO()
'
' Clicando Macro
'

'
Range("C1").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True

'Clicando TAB
Application.Wait (Now + TimeValue("00:00:03"))
Call SendKeys("{TAB}")
Application.Wait (Now + TimeValue("00:00:01"))
'Enter para enviar o texto
Call SendKeys("{ENTER}")

End Sub

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Preciso que depois dele APERTAR ENTER, ele vá pra próxima linha/link e repita o mesmo processo enquanto tiver valor na coluna, caso tenha 1000 links, ele vá clicando e fazendo o processo de tabs, 1 de cada vez, até acabar.
Por osvaldomp
#64830
Experimente:
Código: Selecionar todos
Sub CLICANDO()
 Dim c As Range
  For Each c In Range("C1:C" & Cells(Rows.Count, 3).End(3).Row)
   c.Select
   Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
   'Clicando TAB
   Application.Wait (Now + TimeValue("00:00:03"))
   Call SendKeys("{TAB}")
   Application.Wait (Now + TimeValue("00:00:01"))
   'Enter para enviar o texto
   Call SendKeys("{ENTER}")
  Next c
End Sub
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]

Estamos migrando para uma comunidade no Discord