Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have come across a strange problem today with one of my customers.
In a .xla add-in I have in very much simplified code the following: Sub test() Dim l As Long l = GiveString() MsgBox l End Sub Function GiveString() As String Dim s As String s = "1" GiveString = s End Function All this works fine on my 2 home PC's with XL11 and XL9. With this one customer though in XL9 there is the error: Type mismatch. Why would this be if it runs fine on the home machine with XL9? RBS |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Type mismatch problem | Excel Programming | |||
Data Type Problem!!! | Excel Programming | |||
Data Type Problem? | Excel Discussion (Misc queries) | |||
Data type problem - ODBC Excel '97-2000 Driver | Excel Programming | |||
Excel VBA - Data Type Conversion problem | Excel Programming |