Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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!


--
ernestgoh
------------------------------------------------------------------------
ernestgoh's Profile: http://www.excelforum.com/member.php...o&userid=24870
View this thread: http://www.excelforum.com/showthread...hreadid=554454

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Having problems writing macro in Excel


ernestgoh Wrote:
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!


--
ernestgoh
------------------------------------------------------------------------
ernestgoh's Profile: http://www.excelforum.com/member.php...o&userid=24870
View this thread: http://www.excelforum.com/showthread...hreadid=554454

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro-writing problems Richard Excel Discussion (Misc queries) 6 January 20th 07 10:45 PM
Excel 2007 Problems; in writing macro and convert text to colums bezl Excel Discussion (Misc queries) 2 December 22nd 06 11:20 AM
Problems with reading / writing ini-file Youp Excel Programming 4 February 14th 06 10:36 AM
Writing macro in Excel CCB AA Excel Worksheet Functions 2 January 31st 06 08:48 PM
Writing Excel Macro McHarrisco Excel Worksheet Functions 1 November 30th 05 09:28 PM


All times are GMT +1. The time now is 02:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"