Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why To Assign Value To Cells Is So Long ?
Message
From
19/01/2006 16:30:54
 
 
To
All
General information
Forum:
Microsoft Office
Category:
Excel
Title:
Why To Assign Value To Cells Is So Long ?
Miscellaneous
Thread ID:
01088666
Message ID:
01088666
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform