Good morning,
I have created a form with serveral userforms. Essentially it performs a costing calculation then gives the user the option to log the results in a table on the same page, looking for the next available empty row.
Nothing in the code asks to save or close the workbook at any point
I can add several costings to my table and save the file fine. However when i try and close the workbook in Excel 2007 it crashes (encounted unexpected error....) and recovers. It keeps the changes I had saved and continues to work properly until i save and close again. If i close without saving it does not crash
I have tried this on several PCs, all those with 2007 crash, all those with 2010 work fine...
All was working ok in 2007 when i just had the costing forms in use, it only started to crash once I had added the "copy-details-to-table" feature.
I was going to try and step through the code to see where it went wrong, but it's not whilst the code runs that there is an issue, it's afterwards upon closing.
Has anyone got any advice or seen this before? I've seen a couple of threads on similar issues to this but none have replies as yet.
Any guidance would be much appreciated!!
Thank you
Ben
I have created a form with serveral userforms. Essentially it performs a costing calculation then gives the user the option to log the results in a table on the same page, looking for the next available empty row.
Nothing in the code asks to save or close the workbook at any point
I can add several costings to my table and save the file fine. However when i try and close the workbook in Excel 2007 it crashes (encounted unexpected error....) and recovers. It keeps the changes I had saved and continues to work properly until i save and close again. If i close without saving it does not crash
I have tried this on several PCs, all those with 2007 crash, all those with 2010 work fine...
All was working ok in 2007 when i just had the costing forms in use, it only started to crash once I had added the "copy-details-to-table" feature.
I was going to try and step through the code to see where it went wrong, but it's not whilst the code runs that there is an issue, it's afterwards upon closing.
Has anyone got any advice or seen this before? I've seen a couple of threads on similar issues to this but none have replies as yet.
Any guidance would be much appreciated!!
Thank you
Ben