Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to write a macro for solver function


hi, i need to write a macro that calls the solver function.

the solver is used to find the price that gives me a target profi
margin of 15% for a range of ages 1 to 10.

appreciate if anyone can help or share. thanks alot

--
ernestgo
-----------------------------------------------------------------------
ernestgoh's Profile: http://www.excelforum.com/member.php...fo&userid=2487
View this thread: http://www.excelforum.com/showthread.php?threadid=47527

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to write a macro for solver function


Earnest,

Provide more details of your layout. What are your Target cell,
Changing Cell?Make sure the target cell contains a formula!

David


--
davidm
------------------------------------------------------------------------
davidm's Profile: http://www.excelforum.com/member.php...o&userid=20645
View this thread: http://www.excelforum.com/showthread...hreadid=475272

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default how to write a macro for solver function

turn on the macro recorder, run solver, turn off the recrder and examoine th
ecode that was generated. It will give you pretty much all you need.

"ernestgoh" wrote:


hi, i need to write a macro that calls the solver function.

the solver is used to find the price that gives me a target profit
margin of 15% for a range of ages 1 to 10.

appreciate if anyone can help or share. thanks alot.


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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to write a macro for solver function


i have using the marco recorder. it still doesnt solve the problem. i
have to manually hit enter on a pop up base after the solver finds a
solution.

Patrick Molloy Wrote:
turn on the macro recorder, run solver, turn off the recrder and
examoine th
ecode that was generated. It will give you pretty much all you need.

"ernestgoh" wrote:


hi, i need to write a macro that calls the solver function.

the solver is used to find the price that gives me a target profit
margin of 15% for a range of ages 1 to 10.

appreciate if anyone can help or share. thanks alot.


--
ernestgoh

------------------------------------------------------------------------
ernestgoh's Profile:

http://www.excelforum.com/member.php...o&userid=24870
View this thread:

http://www.excelforum.com/showthread...hreadid=475272




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

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
Can I write a Macro into an IF Function? FX42N Excel Discussion (Misc queries) 1 June 5th 06 06:06 AM
How do I write an Excel Macro to run Solver repeatedly? DLowie Excel Programming 7 August 27th 05 05:14 PM
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM
Solver Record Macro Function Floyd Bates Excel Programming 2 October 13th 04 01:47 PM
Calling up the Solver function in a VBA macro Ken Wright Excel Programming 3 January 28th 04 04:21 PM


All times are GMT +1. The time now is 07:36 AM.

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

About Us

"It's about Microsoft Excel"