Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why To Assign Value To Cells Is So Long ?
Message
De
19/01/2006 16:30:54
 
 
À
Tous
Information générale
Forum:
Microsoft Office
Catégorie:
Excel
Titre:
Why To Assign Value To Cells Is So Long ?
Divers
Thread ID:
01088666
Message ID:
01088666
Vues:
61
I need to assign values to a range of cells. I use a loop like the following. It takes too many long minutes. I also use a command to disable automatic calculation, but not really better.

ActiveWorkSheet.EnableCalculation = False
for lnRow=1 to 10000
cells(lnRow,1) = ' a numeric value
next lnRow
ActiveWorkSheet.EnableCalculation = True

What is the best way to assign values to a large range of cells?
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform