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.
#32466
Boa noite gurizada!

Estou com um problema, tentando a 2 dias fazer minha macro salvar um arquivo com o mesmo nome de uma célula, porém ainda sem sucesso, até agora tudo o que consegui foi fazer isso, mas não resolveu o meu problema(Não entendo nada de VBA).
Código: Selecionar todos
Sub SALVAR_ATÉ_16_MAIS_DE_48_HORAS()
'
' Salvar_16_Mais_de_48 Macro
'
Dim Lista As String
    Lista = Worksheets(1).Range("V3")
    Sheets("LISTA").Select
    Range("A1:AZ35").Select
    ActiveSheet.PageSetup.PrintArea = "$A$1:$AZ$35"
    ActiveWindow.SmallScroll Down:=6
    ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
        Environ("USERPROFILE") & "\Desktop\" & Lista & ".pdf", Quality:= _
        xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, _
        OpenAfterPublish:=True
    ActiveSheet.PageSetup.PrintArea = ""
    Sheets("BASE").Select
End Sub
Eu preciso que ela faça o seguinte, salve o arquivo em extensão pdf, já renomeado com o valor da célula V3, se alguém conseguir me ajudar eu agradeço!!
#32527
Veja arquivo anexo. Testei aqui e deu certo.
Você não está autorizado a ver ou baixar esse anexo.
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