Trouble switching to the M1 Mac or Excel in Office16.56
I just switched to the new Mac (M1 iMac 24", running the latest system) and updated excel to the most recent version 16.56.
Most of my Visual Basic for Applications (VBA) code no longer runs.
It's mystifying that something so simple as the below code bombs with an overrun (Runtime error 6) at the end of the loop.
Has anyone else experienced similar difficulties?
Sub a_test_digammad()
For z1 = 1 To 4.01 Step 0.1
Debug.Print z1, diGammad(z1)
Debug.Print "---"
Next z1 'BOMB LOCATION
End Sub
Function diGammad(x)
diGammad = x
End Function
iMac Line (2012 and Later)