View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
merjet merjet is offline
external usenet poster
 
Posts: 812
Default Mergeing two Arrays

How about putting both arrays in one column of a
worksheet, sorting it, then copying the column to
the final array.

HTH,
Merjet

Has anyone got any sample code for merging two sorted one
dimensional arrays
into one sorted new one?

e.g.

A1 = (2, 4, 6, 8)
A2 = (2, 3, 4, 9, 10)

RESULT = (2, 3, 4, 6, 8, 9, 10)