Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am having trouble using a Bubble Sort Sub. The issue is in the sub that
calls the sort sub. I keep getting a "Compile Error: Type Mismatch: array or user defined type expected.". What am I doing wrong? Sub Test() Dim x As Variant ReDim x(0 To 2) x(0) = 1 x(1) = 10 x(2) = 3 BubbleSort (x) Sub BubbleSort(MyArray() As Variant) 'Additional Sort code here End Sub Thanks EM |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Forms-Compile error: user-def type not defined | Excel Programming | |||
"Compile Error: ByRef argument type mismatch" when calling my function from another module | Excel Programming | |||
Help: Compile error: type mismatch: array or user defined type expected | Excel Programming | |||
Compile error: type mismatch | Excel Programming |