+ Reply to Thread
Results 1 to 8 of 8

excel closes when attempting to add form data

  1. #1
    Registered User
    Join Date
    08-24-2018
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    24

    excel closes when attempting to add form data

    Hi I have created a simple form with 8 headings i.e. first name, last name etc. If I leave the form with no changes everything works.
    The problem arises when I add in a few auto sum calculations to total some of the entry's.
    When I open the form and click on the table and then choose the form to add the data the excel book closes instead of opening the box to insert the new data??

    any thoughts??

    thanks
    William
    Last edited by william01; 12-02-2020 at 11:58 AM. Reason: improper title

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: excel form

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    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,933

    Re: excel form

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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

  4. #4
    Registered User
    Join Date
    08-24-2018
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    24

    Re: excel closes when attempting to add form data

    Hi I have corrected the title as requested.
    I will attach the workbook and I have inserted a note to best explain what is happening.

    Thanks

    William
    Attached Files Attached Files

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: excel closes when attempting to add form data

    Where is the form ?????

  6. #6
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: excel closes when attempting to add form data

    Where is the form ?????
    forget the line above - I was looking for VBA UserForm.

    Tried & tested works OK for me.

  7. #7
    Registered User
    Join Date
    08-24-2018
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    24

    Re: excel closes when attempting to add form data

    Hi torachan, thanks for looking at the workbook.
    It works for me only on the first attempt at adding data via the form but when I close the workbook and re open it and attempt to add more data as soon as I click on the form excel closes??
    THANKS,
    William

  8. #8
    Registered User
    Join Date
    08-24-2018
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    24

    Re: excel closes when attempting to add form data

    to update, I have 2 auto sum column's to show total items and total cost.
    When I remove the formula from each cell then the form /data input works ok.
    It seems that when I add a formula onto the sheet then it crashes excel.

+ 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. Excel 2010 - VBA Userform - How to open a form starting at the top of the form
    By theshybutterfly in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2015, 05:45 AM
  2. Using VBA to transfer data from Excel form to a web form. error 'Permission Denied'
    By danieldowds in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-14-2014, 08:14 AM
  3. Replies: 3
    Last Post: 08-13-2013, 05:53 PM
  4. Creating a form in Excel that auto generates a form number
    By nscaife in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2013, 05:53 PM
  5. Auto Fill Web Form using Excel User Form
    By vandanavai in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2008, 02:26 AM
  6. Transfer data to form from Excel range upon loading of form.
    By Rob Crawford in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-24-2005, 11:05 AM
  7. [SOLVED] form in excel to be attached to the emails address in the form upon sumission
    By Abdulkader Bhanpurawala via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-10-2005, 06: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