Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

EXCEL 2010 - PI-Function "PICompDat" - no results in report

$
0
0

Hi,
 

I try to create a report with EXCEL, VBA and the PI function "PICompDat".
Following lines are already implemented in VBA:

.
.
Sheets(...).Range("C209:E211").FormulaArray = "{=PICompDat(A1;B14;B15;49;A4;""inside"")}"
Sheets(...).Range("C209:E211").Select
Call dlresize
.
.

(A1: tagname, B14: starttime, B15: endtime, A4: server)

Can someone tell me what's missing in the three lines to get the result?

Thanks for information.

JuMathias


Viewing all articles
Browse latest Browse all 1120

Trending Articles