Thread
:
Deleting an element in the middle of an array
View Single Post
#
10
Posted to microsoft.public.excel.programming
Tushar Mehta
external usenet poster
Posts: 1,071
Deleting an element in the middle of an array
If you have a need to remove an element from the middle of an 'array'
then an array is probably the wrong data type structure to begin with.
Consider a linked list.
How To Implement a Linked List in Visual Basic
http://support.microsoft.com/default...b;en-us;166394
--
Regards,
Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
In article ,
says...
I have my own dynamic array
Type LinkInfo
href As String
InnerText As String
End Type
Dim Links() As LinkInfo
which I am redimensioning as I go along
but I have the need to delete an array element, e.g. links(5) from the
middle of the array when its upper bound is 10
How do I do this please. I can only find the erase method to purge the
whole array
Reply With Quote
Tushar Mehta
View Public Profile
Find all posts by Tushar Mehta