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.
#33041
Sub Atualizar()
'
' Atualizar Macro
'

'
Selection.ShapeRange.Item(1).Hyperlink.Follow NewWindow:=False, AddHistory _
:=True
Rows("1:1").Select
Selection.Copy
Range("A7:AL7").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Sheets("Cadastrar").Select
Union(Range( _
"C41,A41,H4:R4,H10:R10,T10:V10,R12:V12,R14:T14,N14:P14,N12:P12,H12:L12,L14,J14,H14,A16:E16,G16:J16,L16:P16,M21:Q21,I21:K21,A21,C21,A26,C26,I26:K26,M26:Q26,M31:Q31,I31:K31,C31,A31,A36,C36,I36:K36,M36:Q36" _
), Range("M41:Q41,I41:K41")).Select
Range("A41").Activate
Application.CutCopyMode = False
Selection.ClearContents
Range("H4:R4").Select
End Sub

Gostaria que quando na programação seleciona A7:AL7 fosse dinâmico e que a célula AM1 é quem definisse. Exemplo:
Range("A(AM1):AL(AM1)").Select

mas nao funciona desse jeito.

Obrigado
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