Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6152889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:59:53+00:00 2026-05-23T19:59:53+00:00

Ok so I am creating a Macro in Excel 2010. I am looking to

  • 0

Ok so I am creating a Macro in Excel 2010. I am looking to project data in to the future. What I want to do is create a button in Excel “What if” that will allow me to freely edit the data. Then after I am done I would like to have another button “Reset” which if I pushed would reset the entire data set to what was previously there. Then if it were possible create another button. “Last Scenario” which would return the last “What if change.”

For example use a excel with months Jan-Dec
Then with

  1. Sales
  2. Costs
  3. Profits (Sales – Costs = Profits)

I would hopefully like to do this only having one excel sheet and doing all this without having to save outside of excel. If there was a way to save in a new sheet temporarly to recall from. Then it saves the Last Scenario until a new whatif is created which erases the old whatif.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:59:54+00:00Added an answer on May 23, 2026 at 7:59 pm

    to save the current Excel file with a filename derived from cell A1

    Public Sub SaveAsA1()
        ThisFile = Range("A1").Value
        ActiveWorkbook.SaveAs Filename:=ThisFile
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I create a macro written in C# for Excel that allows me to
I am creating a Macro with VBA in Excel 2010 to move rows from
I am creating a macro to add data from my Excel sheet into my
I'm creating a macro in C++ that declares a variable and assigns some value
I'm creating a convenience macro. Part of the convenience is that a regular expression
I'm creating a macro in MS Access that imports a CSV file into a
When creating my own macro, and trying to add it so that anyone can
I am creating a Visual Studio Macro and I want it to take the
i have a macro (Makro1) that is assigned to a button in a custom
I'm working on creating a macro in Microsoft Word (2007) for a document that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.