+ Reply to Thread
Results 1 to 4 of 4

Goal seek

  1. #1
    Registered User
    Join Date
    08-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Goal seek

    Hello,

    I'm new to VBA so this may be a trivial question.

    I'm trying to run goalseek down a single column by changing the cell from another column in a different sheet.

    My code is as follows:
    Please Login or Register  to view this content.
    The code works but I get a run time error? Why is this and how can I fix it?

    Any help would be much appreciated.
    Last edited by tom1984; 08-20-2009 at 04:44 PM.

  2. #2
    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: Goal seek

    Welcome to the forum, Tom.

    Please take a few minutes to read the forum rules, and then edit your post to add code tags.
    Entia non sunt multiplicanda sine necessitate

  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: Goal seek

    Thanks.

    It works fine for me, though as the code is written, you have to have the GoalSeek sheet selected for it to work.

    Post a workbook.

  4. #4
    Registered User
    Join Date
    08-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Goal seek

    hmmm strange.

    I can't post the workbook, its got lots proprietary information in it.

    Well thanks for looking at it anyway. Its very much appreciated.

+ 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