LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default Range collection

I recommend instead managing that massive list in a String array, and
for j = ubound(strAddr) to 1
range(strAddr(j)).Value = ...

As to "This does not work" a possible culprit is that line width, which
is excessive. If anyone reads your message in a web browser it will
possibly be unpleasant to view. When you have a string that long, use
the underscore(_) for line continuation; you have the ampersand(&)
operator if you really need that long of a string. A reasonable rule of
thumb with long strings would be to line-continue after 60-70
characters.

Excel limits are at
http://office.microsoft.com/en-us/as...992911033.aspx
though I see and suspect no limit on range sizes, per se. You're
perfectly free to put a value in IV65536 and Select All so a range limit
is unlikely. Unless I'm mistaken, of course :)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Collection Todd Huttenstine Excel Programming 4 December 17th 04 09:41 PM
Range objects in a collection Corey B Excel Programming 2 September 25th 04 06:24 PM
Deleting named ranges by looping through range collection agarwaldvk[_11_] Excel Programming 3 August 3rd 04 01:00 AM
Adding Range to Worksheet Names Collection Keith Willshaw Excel Programming 2 March 5th 04 09:17 AM
calculating and adding a range to a collection marola20[_2_] Excel Programming 2 March 1st 04 03:24 PM


All times are GMT +1. The time now is 03:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"