OVH Cloud OVH Cloud

Copier-coller de PDF sur Excel

1 réponse
Avatar
Rénald
J'aimerais copier des informations d'un document PDF (montant) et les
exporter sur Excel (en valeur). En faisant un copier-coller standard, le
format utilisé est le format "texte".

Merci d'avance

1 réponse

Avatar
jpurtado
Dans un programme j'ai ce code
en esperant t'aider
a+


AppActivate "Acrobat Reader"
SendKeys "^a", True ' Selectionner tout
SendKeys "^c", True ' Copier
' SendKeys "^p", True ' Imprime
SendKeys "{ENTER}", True ' Return
SendKeys "^w", True ' Fermer

AppActivate "Microsoft Excel"
Windows("Récup toto.xls").Activate
Sheets("toto").Select
LIG = Cells(6000, 1).End(xlUp).Row
Range(Cells(1, 1), Cells(LIG, 1)).ClearContents
Cells(1, 1).Select
ActiveSheet.Paste






Rénald wrote:
J'aimerais copier des informations d'un document PDF (montant) et les
exporter sur Excel (en valeur). En faisant un copier-coller standard, le
format utilisé est le format "texte".

Merci d'avance