Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting a range of cells
Message
De
30/10/1999 01:36:54
 
 
À
29/10/1999 13:07:47
Information générale
Forum:
Microsoft Office
Catégorie:
Excel
Divers
Thread ID:
00282029
Message ID:
00284257
Vues:
20
Paige,

Give this a try.
lcRange=CHR(64+ColStart)+LTrim(Str(RowStart))+":"+CHR(64+ColEnd)+LTrim(Str(RowEnd)).
If ColStart returns 3, CHR(64+ColStart) should return "C".

You might want to do this.

cStartingCell = CHR(64+ColStart)+LTrim(Str(RowStart))
cEndingCell = CHR(64+ColEnd)+LTrim(Str(RowEnd))
lcRange = cStartingCell+":"+cEndingCell

Makes your code self-documenting.

Tom Molloy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform