To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63614


User ms7777 changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'ms7777'
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Fri Dec 29 06:39:35 -0800 
2006 -------
I have created a somewhat simplier test case - see below. 
Tested with OO 2.1.0 on Win XP SP2

1.) Put the code into an empty calc doc
2.) Run the code from Basic IDE: no error 
3.) Change "Sub Test11" to "Sub Test1"
4.) Run again - it fails in the indicated line

Hope that helps a bit,

ms777



Sub Test11

Dim lTest as Long
lTest = 1
Dim x as Long
x = IIF(lTest=1,0,23)
x = IIF(lTest=0,0,23)

Dim y as String
msgbox IIF(lTest=0,"Hello","GoodBye") 
msgbox IIF(lTest=1,"Hello","GoodBye") 'after modification fails 
with "Inadmissable value or data type. Data type mismatch" !
x = IIF(lTest=1,0,23) 

End Sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to