I have created a batch file which opens the excel file and close it that have the PI tag values. I want that when the excel opens through this batch file, it should update on same time. I have used the hourly data for today, so as the batch file runs on each hour scheduled, it should update with hour value. But when the excel opens in my case, it does not come in PI view with update mode. Do anyone suggest what i should write in vb\excel micro for the same.