SandmanIce
New Member
- Joined
- May 2, 2013
- Messages
- 4
Hi,
I have this project that works fine with Excel 32 bit but I am having problems running it in 64 bit.
I have this part where I handle Invalid formulas (those things that could not be evaluated by excel.) 32 bit used to throw error that I could catch but in 64 bit, I seem to have Issues that I am not sure of. The code kinda got stucked.
I have this project that works fine with Excel 32 bit but I am having problems running it in 64 bit.
I have this part where I handle Invalid formulas (those things that could not be evaluated by excel.) 32 bit used to throw error that I could catch but in 64 bit, I seem to have Issues that I am not sure of. The code kinda got stucked.
Code:
Sub Macro1()
Dim x As Variant
On Error Goto ErrH:
ReDim x(1, 1)
x(0, 0) = "=1+1"
x(0, 1) = "=1+ " ' <--this is a sample of what I refer to as an Invalid formula
x(1, 0) = "=1+2"
x(1, 1) = "=1+1"
Range("A1:B2").Value = x ' <--Im stuck in this part. the program does not proceed beyond this point and does not throw error like it used to.
'I do something here
On Error Goto 0
Exit Sub
ErrH:
' I have bunch of stuffs that I do here, basically, Error handling.
End Sub