Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conceptual Question about ReDim

Redim is primarily used with dynamic arrays


Dim myArray() as Double

redim myArray(i to j)

.. . .

if j < k then
redim preserve myArray(i to j + 100)
End if

--
Regards,
Tom Ogilvy


"Nicole B" wrote in message
...
I was wondering: in what situation is it useful to use ReDim? The VBA

help
does not explain the concept much. Does it speed up your program? Can
someone give me some basic explanations and/or examples of when it's
beneficial or necessary?

Thanks!



Reply
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
Conceptual Question about ReDim Chip Pearson Excel Programming 0 April 14th 05 03:50 PM
newbie redim question KR Excel Programming 1 March 30th 05 10:20 PM
need some conceptual guidance, advanced excel marika1981 Excel Programming 1 February 16th 05 03:04 AM
new guy with a conceptual question Jay[_16_] Excel Programming 3 March 5th 04 06:59 PM
Conceptual Problem with DAO/ADO Recordset Eddy[_3_] Excel Programming 0 September 8th 03 07:43 AM


All times are GMT +1. The time now is 07:48 PM.

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

About Us

"It's about Microsoft Excel"