+ Reply to Thread
Results 1 to 11 of 11

Bloomberg Formulas and Manual Calculation

  1. #1
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Question Bloomberg Formulas and Manual Calculation

    Hello

    I was wondering if there was anyway to get Bloomberg formulas to finish calculating on their own (without activesheet.calculate and the like) if Excel calculation is set to manual.

    I tried events, but had no luck there.

    The formulas I'd like to calculate are on one sheet, but the whole workbook has to be in manual. Is there a way to just have that sheet be set to automatic?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    16,154

    Re: Bloomberg Formulas and Manual Calculation

    I am optimistic that there is some way to do this.

    As far as I know, the manual/automatic setting in Excel options is strictly global. I am not aware of a built in way to set a single sheet in a workbook to automatic.

    As your "activesheet.calculate" example shows, the calculate method can apply not only to all open workbooks, but to individual sheets, and even specific ranges: https://msdn.microsoft.com/en-us/lib.../ff834613.aspx I would be curious what events you tried and how they failed. The generic approach I would expect would be to have code that invokes the calculate method on the desired sheet/range as part of a suitable event code procedure.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Bloomberg Formulas and Manual Calculation

    Considering the problem inside out, maybe ...

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Bloomberg Formulas and Manual Calculation

    Quote Originally Posted by MrShorty View Post
    I am optimistic that there is some way to do this.

    As far as I know, the manual/automatic setting in Excel options is strictly global. I am not aware of a built in way to set a single sheet in a workbook to automatic.

    As your "activesheet.calculate" example shows, the calculate method can apply not only to all open workbooks, but to individual sheets, and even specific ranges: https://msdn.microsoft.com/en-us/lib.../ff834613.aspx I would be curious what events you tried and how they failed. The generic approach I would expect would be to have code that invokes the calculate method on the desired sheet/range as part of a suitable event code procedure.
    I've tried a while loop:

    Please Login or Register  to view this content.
    That didn't work and basically just kept trying to calculate.

    I've also tried the same sort of thing with a "Do While" (which also got stuck) and a simple "If", but neither of them gave me anything good.

    I tried adding "Application.Wait" to the original macro after the sheet calculate, that did nothing. I also tried adding it to the sheet events, and no luck there.

    I tried adding a loop through each cell on a change event.

    As it stands, I'm running out of ideas.

  5. #5
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Bloomberg Formulas and Manual Calculation

    Quote Originally Posted by shg View Post
    Considering the problem inside out, maybe ...

    Please Login or Register  to view this content.
    This has an interesting concept. I'll see if I can make it work.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Bloomberg Formulas and Manual Calculation

    You're welcome, good luck.

  7. #7
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Bloomberg Formulas and Manual Calculation

    Quote Originally Posted by shg View Post
    You're welcome, good luck.
    I'll give it a try. Thanks!

  8. #8
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Bloomberg Formulas and Manual Calculation

    Unfortunately, there are processes that others use that require all of the sheets to have their EnableCalculation = True.

    This means that I can't disable calculation on them because it would ruin other people's processes.

    So that brings me back to the original problem: Is there anyway to let Bloomberg finish calculating its functions when the application is set to manual (other than sheet.calculate)?

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Bloomberg Formulas and Manual Calculation

    So why can't calculation just be set to automatic?

    It seems like you're chasing your tail.

  10. #10
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Bloomberg Formulas and Manual Calculation

    Quote Originally Posted by shg View Post
    So why can't calculation just be set to automatic?

    It seems like you're chasing your tail.
    The workbook's a bit massive. It will run way too slowly and/or crash if it's set to auto.

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Bloomberg Formulas and Manual Calculation

    You have a lot of volatile formulas? Getting rid of those would be a place to start.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Bloomberg formulas: Triggering update from within a macro
    By jsuarez199 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2013, 07:02 AM
  2. manual calculation for one worksheet by F9 and auto calculation for other sheet
    By rayshimadri in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-22-2013, 06:16 AM
  3. Automatic Caluation or Manual with Bloomberg links
    By switzarmy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-22-2013, 08:59 AM
  4. Replies: 4
    Last Post: 07-23-2013, 07:51 AM
  5. Excel 2010 Formulas Calculation options default to Manual choice
    By zillah in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-24-2012, 08:36 AM
  6. Bloomberg keeps adding a directory link to my VBA formulas
    By Fluke_2001 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-22-2012, 01:59 PM
  7. Manual calculation warning?
    By jrussell in forum Excel General
    Replies: 11
    Last Post: 09-15-2009, 10:38 AM
  8. [SOLVED] Calculation set as Manual
    By Dan. in forum Excel General
    Replies: 1
    Last Post: 02-14-2006, 12:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1