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 21303 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 18 mars 2023 - 22 févr. 2018 à 19:51
yg_be Messages postés 21303 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 18 mars 2023 - 22 févr. 2018 à 19:51
A voir également:
- Visual basic macro
- Visual basic download - Télécharger - Langages
- Visual click avis ✓ - Forum Consommation et internet
- Macro logiciel - Télécharger - Organisation
- Macro recorder - Télécharger - Confidentialité
- Visual paradigm - Télécharger - Gestion de données
1 réponse
yg_be
Messages postés
21303
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
18 mars 2023
1 326
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