Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello, I get the error message - 'Compile error: Wrong number of arguments or invalid property assignment when trying to use the split function in Excel 2003 VBA noted below. I think I am missing a particular reference but not sure what it is. I got this code as a solution courtesy from this site. Regards, bobm Sub SplitFunction() Dim txt As String Dim x As Variant Dim i As Long txt = "Bob; Jane; Karen; John" x = split(txt, "; ") For i = 0 To UBound(x) Debug.Print x(i) Next i End Sub |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
made reference to Microsoft Access library. Resovled.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compile error on VBA Function | Excel Programming | |||
mid function causes a compile error | Excel Programming | |||
mid function causes a compile error | Excel Programming | |||
Help With - Compile Error: Sub or Function Not Defined | Excel Programming | |||
compile error using Left() function | Excel Programming |