Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Harry Hunter   on Oct 22 In MS Office Category.

  
Question Answered By: Laurie Lawrence   on Oct 22

You can redim multidimensional arrays  as well.....
If you use the keyword redim, all existing data in the
array would be deleted. to avoid this use the keywords
"redim preserve"

Illus:

REDIM TEST(5,5) AS STRING ' would reset dimension but
delete existing contents of TEST

REDIM PRESERVE TEST(5,5) AS STRING ' would not only
reset the dimension but also retain existing contents
of TEST.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Creation of arrays Dynamically Or get search suggestion and latest updates.


Tagged: