Visual basic macro
Fermé
CosmicMurder
Messages postés
1
Date d'inscription
samedi 24 avril 2010
Statut
Membre
Dernière intervention
22 février 2018
-
Modifié le 22 févr. 2018 à 18:38
yg_be Messages postés 22720 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 23 avril 2024 - 22 févr. 2018 à 19:51
yg_be Messages postés 22720 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 23 avril 2024 - 22 févr. 2018 à 19:51
A voir également:
- Visual basic macro
- Visual basic download - Télécharger - Langages
- Microsoft 365 basic - Guide
- Microsoft visual c++ runtime - Guide
- Visual petanque - Télécharger - Sport
- Macro word - Guide
1 réponse
yg_be
Messages postés
22720
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
23 avril 2024
1 476
22 févr. 2018 à 19:51
22 févr. 2018 à 19:51
bonsoir, suggestion:
Sub copiersoustotal() ' dim i as integer, nlig as integer nlig=0 With Session for i = 5 to 22 'on cherche sur les lignes de 5 à 22 if .GetDisplayText(i,11,9)="SUB-TOTAL" then 'si sub-total est présent à partir de la colonne 11 nlig=i exit for end if next i if nlig >0 then .SetSelectionStartPos nlig, 57 .ExtendSelectionRect nlig, 63 .CopySelection end if End With End Sub