+ Reply to Thread
Results 1 to 1 of 1

Adding onto an Existing Formulaa

  1. #1
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Adding onto an Existing Formulaa

    I am trying to create an R1C1 formula in VBA that adds on to an exiting CUBE formula.

    I am trying to turn this:

    =CUBEMEMBER("PWPER","[Dim Item].[Items].&[8]")

    into this

    =CUBEMEMBER("PWPER","[Dim Item].[Items].&[8]",PROPER(CUBEMEMBER("PWPER","[Dim Item].[Items].&[8]")))

    Once I get this working correctly in VBa, I will loop it down a range of a few hundred rows.

    I've tried something like below but just can't seem to get this syntax figured out.

    Please Login or Register  to view this content.
    EDIT = Debug Print helps alot!!! I needed to remove the = sign from inside the proper. This seems to be working
    Please Login or Register  to view this content.
    Last edited by ptmuldoon; 01-09-2019 at 04:26 PM. Reason: Solved

+ 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. Macro for using a long formulaa
    By srinivastsc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2018, 04:01 PM
  2. Formulaa to calculate a cost, based on prior cells
    By robiton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2017, 01:18 PM
  3. Replies: 3
    Last Post: 01-13-2016, 12:05 PM
  4. [SOLVED] Formulaa to add two cells unless a third is available if so use that
    By gwd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-23-2014, 04:05 AM
  5. can't write the righr formulaa
    By amr7 in forum Excel General
    Replies: 1
    Last Post: 01-13-2014, 07:53 AM
  6. Indirect references in Array formulae
    By ninsine in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-30-2013, 09:16 AM
  7. [SOLVED] Data validation drop down list with discount formulaa
    By anil21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2013, 08:42 AM

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