Originally Posted by
p45cal
I've never heard of .driftctrl; what is it?
Here is the full VBA Section - it gets stuck on Set drift = ThisWorkbook.Sheets("AXIS Scraper").driftctrl
So it was working perfectly fine when I was running win7 32 bit, but due to going to win10 64 bit
Sub LogOnOff_Click()
Dim Status As Integer
Set drift = ThisWorkbook.Sheets("AXIS Scraper").driftctrl
Status = GetDriftStatus()
If (Status = STATUS_ROBOTRUNNING) Then
MsgBox ("Please wait for the script to finish running")
End If
If (Status = STATUS_DISCONNECTED) Then
Password = InputBox("Please enter your AXIS password:")
If (Password = "") Then
Exit Sub
End If
SetDriftStatus (STATUS_CONNECTING)
SetGotDataFunction (GOTDATA_LOGINOUT)
With drift
.cfg = SetupDriftCfg()
.Session = "AXIS"
.LaunchDrift = LFLAG_CAN_LAUNCH
.TimeOut = 7
.PutScreenNow = True
.Attach = True
End With
End If
End Sub