+ Reply to Thread
Results 1 to 17 of 17

Make calculations into a program

  1. #1
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Make calculations into a program

    I've got a few cells where anyone can insert the gene code (geotype) of any two hamsters (male + female) and Excel will calculate the possible outcome of the gene codes (genotypes) and colors (fenotypes) of the offspring. It's using calculations of thousands of cells, so the process of calculating all this is quite slow, but I've finally managed to make it work perfectly. But now I want to transfer all this into a program, so that the user sees a simple program where he or she can add the genotypes and then the program does exactly what Excel does, only it looks a lot more simple (and program-like) to the user. Is there any program like this out there where one can just import an Excel ducument and choose what cells are not to be shown and what cells that are supposed to be able to be changed by a user?

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,631

    Re: Make calculations into a program

    web search: "excel to exe converter"
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Re: Make calculations into a program

    I did and I can only find programs that makes people unable to change the formulas in Excel. I want it to be a separate program of its own and not Excel that opens. I want an .exe-file to open and in there you can insert your data and hit "Run" or "Calculate" and the results appear. I can't find that type of converter anywhere.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Make calculations into a program

    I did and I can only find programs that makes people unable to change the formulas in Excel
    Im pretty sure that is the whole point of those conversion programs. If you want to edit excel formula, use excel
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Re: Make calculations into a program

    But I want a program that people can use. They are not supposed to know I've used Excel formula. They just need a simple program to use. That doesn't exist?

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Make calculations into a program

    See if this link is any help to you...

    http://www.mrexcel.com/forum/excel-q...t-xls-exe.html

    But again, as I said, if you want the users to be able to edit excel formulas, getthem to use excel

    good luck

  7. #7
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: Make calculations into a program

    Maybe you can use a 'userform'
    I know that this can be made 'screenfilling'

    My knowledge of this is not good enough to help you.
    Maybe someone else
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  8. #8
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Re: Make calculations into a program

    That also just converts the file to exe within Excel. I don't want to see Excel at all in the final product. I want it to be a simple standard gray window that comes up with only the text and the cells I choose to appear there, where people can insert their information.

    But thanks anyways, though. If there is no such solution as the one I'm looking for, I'll have to go for keeping it within Excel, as you suggest.

  9. #9
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Re: Make calculations into a program

    A "userform" sounds like something like what I'm looking for! (I'll Google it). Thank you!

  10. #10
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Make calculations into a program

    You could use a userform, and hide the Excel workbook (and Excel) behind it.

    The user enters the required data on the userform, that data is then transferred to the workbook where the results can be calculated and then they can be displayed on the userform.
    If posting code please use code tags, see here.

  11. #11
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Re: Make calculations into a program

    Does that require for the user to manually open Excel and such, back and forth? Or does the userform pop up once that Excel document is opened? It needs to be as simple for the users as it can possibly be.

  12. #12
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Make calculations into a program

    Not sure what you mean about opening Excel 'back and forth'.

    As soon as the user opened the workbook the form would popup and Excel would be out of sight as it would be hidden.

    Code behind the userform would do everything else, eg transferring data from form to worksheet, retrieving results etc.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Make calculations into a program

    But that still requires excel to be present on the host machine?

  14. #14
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: Make calculations into a program

    Take just a look at this how it is working and not what is showing.
    Attached Files Attached Files

  15. #15
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Make calculations into a program

    popipipo

    Why not add Appliction.Visible = False to hide Excel too?

  16. #16
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: Make calculations into a program

    It is just an example
    You may tune it the way you want.

  17. #17
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,631

    Re: Make calculations into a program

    This thread is the same as this one

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to make a Cashier Program in excel?
    By regieb24 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2014, 03:48 AM
  2. excel macro crashes when external program runs calculations
    By aileen_magee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2011, 09:51 AM
  3. How to make a program for graphs
    By john_brown in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-11-2010, 09:38 PM
  4. How can I make this program?
    By Sevzor in forum Excel General
    Replies: 1
    Last Post: 11-06-2008, 09:10 AM
  5. [SOLVED] Make a Workbook into VB Program
    By Woody in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2005, 01:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1