[Jprogramming] Type Mismatch Solved
Leigh J. Halliwell
leigh at lhalliwell.com
Wed Mar 21 06:32:36 HKT 2007
Dear J Forum:
Never mind answering my previous post. I found that my 'jstring' variable
was not rank-1; it had leading singleton axes. After getting rid of these
js.getB works just fine.
Sincerely,
Leigh
-----Original Message-----
From: programming-bounces at jsoftware.com
[mailto:programming-bounces at jsoftware.com] On Behalf Of Leigh J. Halliwell
Sent: Tuesday, March 20, 2007 5:03 PM
To: 'Programming forum'
Subject: [Jprogramming] Type Mismatch
Dear J Forum:
I'm trying to pass variables between Excel and J, and having problems when
dealing with a text/string variable. Let's say that I want to get the
"jstring" text variable into VBA:
Dim v As Variant
v = jget("jstring")
Sheet.Cells(1, 1).Value = v
I get "runtime error 13, type mismatch." What's wrong? Things work fine
for numeric variables. Thanks.
More information about the Programming
mailing list