Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Auto run a macro to get a table result

My spreadsheet allows the user to enter various assumptions and auto
calculates output in the form of a 20 year rent schedule. One option is for
rent to rise at annual amounts chosen by the user so the starting rent is
calculated via goalseek to match the NPV of the rising rent to a calculated
result.

I want to create a table that displays the year 1 starting rent for
different interest rates but I can't see how to get the goalseek macro to
run when calculating the table so I just get one result repeated.

Am I trying to do the impossible or can somebody show me how to do it?
(ps if the solution is to write a macro to calculate for each interest rate
and copy the result to an output cell I can do that but I was just hoping I
could do it automatically with a table).


If a user changes an assumption the goalseek macro runs automatically
through the code below:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Application.Intersect(Target, Range("C3:H52")) Is Nothing Then Exit Sub
Application.EnableEvents = False
SetRisingRent
Application.EnableEvents = True
End Sub



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
how do i auto copy the result of a filter ddt Excel Worksheet Functions 0 May 21st 08 11:08 AM
Auto Number the Rows of Auto Filter Result ashish128 Excel Discussion (Misc queries) 3 April 29th 07 06:41 PM
match two items to table for result Annette Excel Worksheet Functions 2 January 16th 07 03:40 AM
Populating a table with filtered result of another table pikakathy Excel Discussion (Misc queries) 7 January 11th 06 12:04 AM
If formula result is false, how do I auto-delete that rows? jbrenner51 Excel Worksheet Functions 1 November 16th 05 05:24 PM


All times are GMT +1. The time now is 04:26 PM.

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"