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 AlexB17
#23499
Pessoal, preciso de uma ajuda.

Não estou conseguindo colocar duas fichas de entrega de cestas básicas em uma única página com dois indivíduos diferentes.

Alguém me ajuda?
Você não está autorizado a ver ou baixar esse anexo.
Por osvaldomp
#23521
Considerei que a segunda ficha estará a partir da linha 23.
Código: Selecionar todos
Sub ImprimirV2()
Dim r As Long, k As Long, ws2 As Worksheet
  Set ws2 = Sheets("Ponto")
  r = Cells(Rows.Count, "B").End(xlUp).Row
   For k = 4 To r Step 2
    ws2.Range("B3").Value = Cells(k, 2)
    ws2.Range("I3").Value = Cells(k, 3)
    ws2.Range("B25").Value = Cells(k + 1, 2)
    ws2.Range("I25").Value = Cells(k + 1, 3)
    ws2.PrintPreview
    'ws2.PrintOut
   Next k
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