You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue i have is that after i run a par of code that gives an error, when i solve the issue in either python or VBA and rerun the code exactly the same error is given. To me it seems like the python environment sticks in this old error. And it does not take the new code. Any solutions for this?
Sub getInfoTickerIDS()
Dim i As Integer
Dim IDArray
IDS = getAmountOfIDS()
IDArray = Range("A6:A" & (IDS + 5)).Value
Sheets("Dashboard").Range("C2:C3").Value = IDArray
For i = 1 To IDS
ID = IDArray(i, 1)
Sheets("Dashboard").Range("E2").Value = ID
RunPython ("import hello2; hello2.scrapeAndPrint(" & ID & "," & i & ")")
Next i
End Sub
The text was updated successfully, but these errors were encountered:
This seems to be an issue when Windows sometimes locks the log file which is being read back for the error handling so the error isn't properly cleared.
Windows 10
XLwings 15.9, Excel Office 365, Python 3.7
The issue i have is that after i run a par of code that gives an error, when i solve the issue in either python or VBA and rerun the code exactly the same error is given. To me it seems like the python environment sticks in this old error. And it does not take the new code. Any solutions for this?
VBA:
The text was updated successfully, but these errors were encountered: