View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
smartee628 smartee628 is offline
external usenet poster
 
Posts: 1
Default Copying calculated values


I'm a college student working on a project and i'm completely
inexperienced with excel programming so any kind of help will be
greatly appreciated.

Here's the scenario: I'm doing a program to forecast demands. I have
a column showing the actual sales and another column showing the
forecasts. On a separate cell I have the formula for calculating the
forecast based on what the user inputs as 'n' (i.e If user enters n=2,
then take the 2 most recent sales and divide them by n=2, etc.)

How do I program my 'Submit' button so that the calculated value is
reflected on my forecast column as the most recent forecasted value and
make it repeat the process for the next forecast. (i.e. Calculate
forecast, click Submit, enter to C15...do the same process of
calculating, click Submit, enter to C16 and so on).

Thanks.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements