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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
