I'm working on a data mining macro that would pull pi data, but I keep getting this "Run-time error '13': Type mismatch"
This is what was highlighted in the debugger
Code:
'Use the first tag to obtain the # of rows of data, and get the timestamp for each row in phase j
TagArr = Evaluate("PISampFilDat(""" & TagCell.Value & """" & _
",""" & Format(StTime, "mm/dd/yy hh:mm:ss") & """" & _
",""" & Format(EnTime, "mm/dd/yy hh:mm:ss") & """" & _
",""" & DataIntCell.Value & "s""" & _
","""",0, 1,""" & ServerCell.Value & """)")
Any suggestions guys?
Thanks
Bookmarks