Can Redim be used to declare a new array ?

Answer Posted / kapil

Yes Redim Can be used to create a new array.
There is no need of the dim statement before using ReDim.


Following Code works :

Redim a(5) as int

a(0) = 3
debug.print a(0)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you add elements and pictures to listitems in listview control?

1538


DHTML Is used for what?

1470


How the image application?

590


What is the use of NEW Keyword? Explain.

1562


Whether HTML supports multimedia: and document links?

1439






What is dao in vb?

511


by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.

1715


Types of LockEdits in RDO.

1584


In which areas the Error occurs?

1475


Is visual basic c#?

508


What is OLEDB?

1916


How would you navigate between one document to another document

1177


Write the steps in Creating ActiveX Dll and Active Exe?

1570


What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.

1091


Explain the working with task in Gantt chart view.

562