+ Reply to Thread
Results 1 to 2 of 2

Concatenating ranges in vba to use with GoalSeek !

  1. #1
    Registered User
    Join Date
    04-09-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    3

    Exclamation Concatenating ranges in vba to use with GoalSeek !

    Hi all,

    I have been pretty good about teaching myself and this forum has helped millions!!!

    I am stumped on this one though:

    I have a matrix for some calculations that I am performing through a goal seek. I have five cases
    A B C D E

    I would like the values returned to be based off these case names that are in a drop down list as text in cell: Range("Case_Selected2").Value : which is A or B or C or D or E

    So wherever there is a place in the code that is Range("Waterfall_Unadj_EV.A") for example. I would like to run it as something like
    Please Login or Register  to view this content.
    Is this possible?
    Last edited by Leith Ross; 04-10-2012 at 10:29 AM. Reason: Added Code Tags

  2. #2
    Forum Contributor PingPing's Avatar
    Join Date
    02-19-2010
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    158

    Re: Concatenating ranges in vba to use with GoalSeek !

    tout est possible!

    Just capture the value using the Worksheet_Change event handler and concatenate it to your code. For example, try the following code in the CodeModule of the Worksheet containing the drop-down list (which, I assume, is the same worksheet containing the GoalSeek ranges).

    Please Login or Register  to view this content.
    Last edited by PingPing; 04-10-2012 at 11:40 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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