+ Reply to Thread
Results 1 to 2 of 2

Having problems writing macro in Excel

  1. #1
    Registered User
    Join Date
    07-02-2005
    Posts
    53

    Post Having problems writing macro in Excel

    hi,

    i am trying to write a goalseek macro with a minimum GoalSeek Goal to generate premium rates for different ages.

    i have a group of people from
    age = 17 to 60

    and i set my goal to be
    profit margin = 10% for age 17 to 30
    = 20% for age 31 to 60

    so i need to change the premium rates


    i can get the standard macro but i would like to vary the profit margin by age
    Range("AK129").GoalSeek Goal:=0.10, ChangingCell:=Range("D12").

    Appreciate any help on this. Thanks!

  2. #2
    Registered User
    Join Date
    07-02-2005
    Posts
    53

    can help?

    Quote Originally Posted by ernestgoh
    hi,

    i am trying to write a goalseek macro with a minimum GoalSeek Goal to generate premium rates for different ages.

    i have a group of people from
    age = 17 to 60

    and i set my goal to be
    profit margin = 10% for age 17 to 30
    = 20% for age 31 to 60

    so i need to change the premium rates


    i can get the standard macro but i would like to vary the profit margin by age
    Range("AK129").GoalSeek Goal:=0.10, ChangingCell:=Range("D12").

    Appreciate any help on this. Thanks!
    anyone has any idea what i mean? thanks!

+ 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