question

Upvotes
Accepted
9 0 2 5

batch file to refresh DFO

Hello, I am writing a batch file (vbs) to update the data from DFO programatically. The function in the excel is DSGRID. Although it runs fine, it doesn't seem to update. Here is my code:

Set excApp = CreateObject("Excel.Application")

excApp.Visible = True

excApp.COMAddIns("PowerlinkCOMAddIn.COMAddIn").Connect = True

set wb = excApp.WorkBooks.open("C:\test.xlsx")

excApp.Run "PLRefreshWorkbookEventHandler"

wb.Save

wb.Close

excApp.Quit


Any idea how to make it work?

datastream-apidsws-apibatchdatastream-for-officevbscript
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @ninja

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

From the question, I assume that you are using DataStream for Office. If so, please kindly contact the DataStream support team via MyRefinitiv.


1586326475501.png (7.7 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.