Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 2
Default Refresh Bloomberg data in an excel file from a script

HI,
I run a vb script which loops through excel files, and runs excel
macros to update data from a database.

What I would like to happen is for the excel files to have their
Bloomberg data refreshed, before the script runs (or be refreshed by
the script).

Running a macro with the below line does refresh the Bloomberg data.
Application.Run "RefreshEntireWorkbook"

But when I run this macro from a script, it does not work.

Does anyone know of a way to refresh Bloomberg data in an excel file
from a script ?

Regards,
Tom
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,522
Default Refresh Bloomberg data in an excel file from a script

On Nov 23, 10:36*pm, Tom wrote:
HI,
I run a vb script which loops through excel files, and runs excel
macros to update data from a database.

What I would like to happen is for the excel files to have their
Bloomberg data refreshed, before the script runs (or be refreshed by
the script).

Running a macro with the below line does refresh the Bloomberg data.
Application.Run "RefreshEntireWorkbook"

But when I run this macro from a script, it does not work.

Does anyone know of a way to refresh Bloomberg data in an excel file
from a script ?

Regards,
Tom


You don't say how you are getting the bloomberg data. send your file
to dguillett1 @gmail.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 2
Default Refresh Bloomberg data in an excel file from a script

On Nov 25, 12:20*am, Don Guillett wrote:
On Nov 23, 10:36*pm, Tom wrote:





HI,
I run a vb script which loops through excel files, and runs excel
macros to update data from a database.


What I would like to happen is for the excel files to have their
Bloomberg data refreshed, before the script runs (or be refreshed by
the script).


Running a macro with the below line does refresh the Bloomberg data.
Application.Run "RefreshEntireWorkbook"


But when I run this macro from a script, it does not work.


Does anyone know of a way to refresh Bloomberg data in an excel file
from a script ?


Regards,
Tom


You don't say how you are getting the bloomberg data. send your file
to dguillett1 @gmail.com- Hide quoted text -

- Show quoted text -


Thanks Don, but from our correspondance, I think we are on different
wavelengths.

Does anybody else have a solution to this problem ?

Regards,
Tom
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 587
Default Refresh Bloomberg data in an excel file from a script

hi Tom,

have you try,

Application.Run "blpmain.xla!RefreshAllStaticData"



--
isabelle

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 587
Default Refresh Bloomberg data in an excel file from a script

or maybe a best solution he
http://www.excelforum.com/excel-prog...on-ontime.html

--
isabelle


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to refresh data and save and close Neil Holden Excel Programming 3 August 6th 09 03:40 PM
Create folder, text file and vbs script from data in excel mjnaiden Excel Programming 5 May 13th 09 06:34 PM
refresh data from a intermediate excel data file (not opened) Matthieu Gaillet Excel Programming 0 December 1st 05 02:40 PM
Refresh Imported Data - Does the Excel file have to be open? tinkertoy Excel Discussion (Misc queries) 0 June 23rd 05 07:51 PM
How to auto-refresh Pivot data when open Excel file? Julie Excel Worksheet Functions 3 November 17th 04 05:22 PM


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"