Boa tarde Senhores!
Tenho uma planilha que usa Userform para gerar relatório, preciso de um código para colocar em um botão que Imprima o Userform ativo em formato de PDF,
Alguém poderia me ajudar?
Boa tarde Senhores!
Tenho uma planilha que usa Userform para gerar relatório, preciso de um código para colocar em um botão que Imprima o Userform ativo em formato de PDF,
Alguém poderia me ajudar?
Administrative Note:
Welcome to the forum.
We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.
Please see Forum Rule #4 about hijacking and start a new thread for your query.
I have moved your post to Non-English Excel from an unrelated thread.
Jeff
| | |·| |·| |·| |·| | |:| | |·| |·|
Read the rules
Use code tags to [code]enclose your code![/code]
Bom dia Desculpa-me,
Não consigo abrir um novo tópico, não acho o botão para fazer isso, consegues me auxiliar,
Fico no aguardo.
Continue here, please. Your duplicate thread has been closed.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Olá Jonata,
Não sei se você já solucionou o seu problema. De qualquer modo, estou postando aqui uma solução possível
Neste caso, uma alternativa é utilizar o Método PrintForm. Insira em seu botão de Gerar PDF a seguinte linha:
Please Login or Register to view this content.
Observação: Altere o nome UserForm1 para o nome do seu formulário.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks