Willow Solutions, Inc. Leaf graphic
Willow SOlutions, Inc. Software that thinks like you do
News
Products
Case Studies
Tips
Willow Talk
Clients
Partners
Job Openings
Home

Willow Talk

 
 
Back to Willow Talk

Re: Bloomberg polling and Excel

Posted By:

Ted Bukowski

Email:

tbukowski@willowsolutions.com

Date:

1/7/2003

Time:

12:04:08 PM

Comments:

You are trying to create an Excel spreadsheet which will update at a specific time each day.

I suggest that you use VBA’s OnTime method.

To learn how to use this procedure, just type OnTime in the Visual Basic Editor and press F1. This opens Visual Basic help on the OnTime method. For example, the line of code you would use to update your worksheet at 5:00 PM woruld be:

Application.OnTime TimeValue("17:00:00"), "my_Procedure"

The my_procedure which would be called by the OnTime method would contain the macro code which would manipulate the worksheet or the data you want updated.

I have used the OnTime method to update prices and write the values to a database. If you experience problems with the #NA values not clearing when you open a workbook, how to solve this problem is discussed in a previous Willow Talk. Check out the Willow Talk labeled Live Data in Excel.

Hope this helps.



Related Messages:

Bloomberg polling and Excel
        Re: Bloomberg polling and Excel
                Re: Re: Bloomberg polling and Excel
                        Re: Re: Re: Bloomberg polling and Excel

  What's New | Products | Case Studies | Willow Tips | Willow Talk | Clients | Partners | Job Openings | Home
  Terms of UsePrivacy Statement
Willow Solutions, Inc.85 Willow Street, New Haven CT 06511 USA203.777.5634info@willowsolutions.com