Hello. I'm having a problem where excel will throw a 1004 error "application-defined or object-defined error".
The issue is that I have an array of values with strings that look like "=?DAFqwr".
As a minimal example of this:
Sub testArr()
dim arr(1 to 1, 1 to 1) as variant
arr(1,1) = "=x2j?1"
range("A1").value2 = arr(1,1) ' error occurs here
end sub
Does anyone know of any workarounds for this?
The issue is that I have an array of values with strings that look like "=?DAFqwr".
As a minimal example of this:
Sub testArr()
dim arr(1 to 1, 1 to 1) as variant
arr(1,1) = "=x2j?1"
range("A1").value2 = arr(1,1) ' error occurs here
end sub
Does anyone know of any workarounds for this?