Impression un état à partir du formulaire sans l'ouvrir en aperçu
Fermé
FONGBE
Messages postés
149
Date d'inscription
samedi 5 novembre 2016
Statut
Membre
Dernière intervention
7 mars 2024
-
9 janv. 2020 à 12:56
Castours - 23 févr. 2020 à 19:15
Castours - 23 févr. 2020 à 19:15
A voir également:
- Impression un état à partir du formulaire sans l'ouvrir en aperçu
- Spouleur d'impression - Guide
- Comment ouvrir un fichier epub ? - Guide
- Creer un groupe whatsapp a partir d'un autre groupe - Guide
- Ouvrir un fichier .bin - Guide
- Comment ouvrir un fichier docx ? - Guide
8 réponses
Bonjour
Dans cet exemple , tu as
une visualisation en impression avec acNormal
Apercu
Private Sub Commande69_Click()
On Error GoTo Err_Commande69_Click
Dim stDocName As String
stDocName = "eta_Consommation annuelle par type d'energie"
DoCmd.OpenReport stDocName, acNormal
Exit_Commande69_Click:
Exit Sub
Err_Commande69_Click:
MsgBox Err.Description
Resume Exit_Commande69_Click
End Sub
Dans cet exemple , tu as
une visualisation en apercu avec acPreview
Apercu
Private Sub Commande69_Click()
On Error GoTo Err_Commande69_Click
Dim stDocName As String
stDocName = "eta_Consommation annuelle par type d'energie"
DoCmd.OpenReport stDocName, acPreview
Exit_Commande69_Click:
Exit Sub
Err_Commande69_Click:
MsgBox Err.Description
Resume Exit_Commande69_Click
End Sub
acNormal pour imprimer
acPreview pour apercu
Dans cet exemple , tu as
une visualisation en impression avec acNormal
Apercu
Private Sub Commande69_Click()
On Error GoTo Err_Commande69_Click
Dim stDocName As String
stDocName = "eta_Consommation annuelle par type d'energie"
DoCmd.OpenReport stDocName, acNormal
Exit_Commande69_Click:
Exit Sub
Err_Commande69_Click:
MsgBox Err.Description
Resume Exit_Commande69_Click
End Sub
Dans cet exemple , tu as
une visualisation en apercu avec acPreview
Apercu
Private Sub Commande69_Click()
On Error GoTo Err_Commande69_Click
Dim stDocName As String
stDocName = "eta_Consommation annuelle par type d'energie"
DoCmd.OpenReport stDocName, acPreview
Exit_Commande69_Click:
Exit Sub
Err_Commande69_Click:
MsgBox Err.Description
Resume Exit_Commande69_Click
End Sub
acNormal pour imprimer
acPreview pour apercu
FONGBE
Messages postés
149
Date d'inscription
samedi 5 novembre 2016
Statut
Membre
Dernière intervention
7 mars 2024
18 févr. 2020 à 17:00
18 févr. 2020 à 17:00
non, pas résolu.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
bonjour
peux tu mettre ta base compressée en zip dans un lien de ci joint.com que tu copies dans un message de comment ca marche
peux tu mettre ta base compressée en zip dans un lien de ci joint.com que tu copies dans un message de comment ca marche
yg_be
Messages postés
23476
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
20 février 2025
Ambassadeur
1 568
Modifié le 18 févr. 2020 à 21:15
Modifié le 18 févr. 2020 à 21:15
bonjour, quelle commande as-tu utilisée dans la macro?
as-tu utilisé "imprimer"?
https://support.microsoft.com/fr-fr/office/imprimer-action-de-macro-44b8569c-926d-45d6-ba6b-beea5c801750?ui=fr-fr&rs=fr-fr&ad=fr
as-tu utilisé "imprimer"?
https://support.microsoft.com/fr-fr/office/imprimer-action-de-macro-44b8569c-926d-45d6-ba6b-beea5c801750?ui=fr-fr&rs=fr-fr&ad=fr
FONGBE
Messages postés
149
Date d'inscription
samedi 5 novembre 2016
Statut
Membre
Dernière intervention
7 mars 2024
23 févr. 2020 à 15:23
23 févr. 2020 à 15:23
j'ai utilisé la commande " imprimer". merci