+ Reply to Thread
Results 1 to 2 of 2

VBA script to replace Hyperion retrieve formula's to fixed value

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    Deventer, Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    1

    Post VBA script to replace Hyperion retrieve formula's to fixed value

    Hello,
    I''ve got a report with Hyperion retrieve formula's and would like to have a VBA script to replace Hyperion retrieve formula's to fixed value in total workbook, but leave other (non-Hyperion retrieve formules) unharmed.

    The Hyperion retrieve formula's always starts with "=HPVAL(".

    What I do now is still manual work to succeed:
    I first use the search function with "find all" with "HPVAL"
    then CTRL+A (select all)
    then I run a VBA script, like:

    -----------------------
    Dim ar As Range

    For Each ar In Selection.Areas
    ar.Value = ar.Value
    Next ar
    End Sub
    -----------------

    and do this for all sheets separately.

    Can anyone help me with a VBA script to change my retrieve formula's into fixed value?
    Many thanks in advance.

    Regards,
    Rogier

  2. #2
    Forum Contributor
    Join Date
    01-14-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    240

    Re: VBA script to replace Hyperion retrieve formula's to fixed value

    Slightly diferent approach. Go - Edit links - find the retrieve add-in (HSTBAR.XLA or something similiar in older versions) - Break link. This hard code all the hyperion formulas and leave all the other non hyperion formulas untouched. It is also significantly quicker than any other method.
    Please consider adding a * if I helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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